Update contrib.texi
[glibc.git] / ChangeLog
blobc4ef334a7e85e632a93746844ee1de94b9957111
1 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * manual/contrib.texi: Update entry for Carlos O'Donell,
4         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10         * sysdeps/unix/sysv/linux/kernel-features.h
11         [__LINUX_KERNEL_VERSION >= 0x020621]
12         (__ASSUME_PROC_PID_TASK_COMM): Define.
14 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18         Leonard and Allan McRae.
20 2014-02-04  David S. Miller  <davem@davemloft.net>
22         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23         32-bit.
25 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
28         file
29         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30         New file
31         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
32         file.
33         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
34         file.
35         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36         New file.
37         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
38         file.
39         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
40         file.
41         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42         New file.
43         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44         New file.
45         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46         New file.
47         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48         New file.
49         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50         New file.
51         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
52         New file.
54 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56         * nptl/shlib-versions: Change powerpc*le start to 2.17.
57         * shlib-versions: Likewise.
59 2014-02-04  Roland McGrath  <roland@hack.frob.com>
60             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
63         (abilist-pattern): New variable, set to %-le.abilist.
65         * Makerules (abilist-pattern): New variable.
66         (vpath): Use $(abilist-pattern) in place of %.abilist.
67         (check-abi-% pattern rule): Likewise.
68         (check-abi, update-abi): Likewise.
70 2014-02-04  Eric Wong  <normalperson@yhbt.net>
72         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74 2014-02-04  Eric Wong  <normalperson@yhbt.net>
76         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
80         * manual/startup.texi: Add next, previous, and top entries for
81         the `Program Arguments' and `Environment Variables' nodes.
83 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
85         * manual/macros.texi: Add comments before MTASC-safety macros.
87         * manual/users.texi: Document MTASC-safety properties.
89         * manual/threads.texi (pthread_key_create, pthread_key_delete,
90         pthread_getspecific, pthread_setspecific): Format with
91         @deftypefun, and add @safety note.
92         * manual/signal.texi: Move comments that analyze the above
93         functions to their home place.
95 2014-02-03  Allan McRae  <allan@archlinux.org>
97         * po/sl.po: Update Slovenian translation from translation project.
99 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
101         * manual/time.texi (timegm): Add missing blank after @c.
102         Reported by Joseph Myers <joseph@codesourcery.com>.
104 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
106         * manual/check-safety.sh: New.
107         * manual/Makefile ($(objpfx)stamp-summary): Run it.
109         * manual/terminal.texi: Document MTASC-safety properties.
111         * manual/filesys.texi: Document MTASC-safety properties.
113         * manual/errno.texi: Document MTASC-safety properties.
115         * manual/intro.texi: Document safety identifiers and
116         conditionals.
118         * manual/string.texi (wcstok): Fix prototype.
119         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
121         * manual/time.texi: Document MTASC-safety properties.
123         * manual/string.texi: Document MTASC-safety properties.
125         * manual/threads.texi: Document MTASC-safety properties.
127         * manual/stdio.texi: Document MTASC-safety properties.
129         * manual/syslog.texi: Document MTASC-safety properties.
131         * manual/sysinfo.texi: Document MTASC-safety properties.
133         * manual/startup.texi: Document MTASC-safety properties.
135         * manual/socket.texi: Document MTASC-safety properties.
137         * manual/signal.texi: Document MTASC-safety properties.
139 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
141         * manual/setjmp.texi: Document MTASC-safety properties.
143         * manual/search.texi: Document MTASC-safety properties.
145         * manual/resource.texi: Document MTASC-safety properties.
147         * manual/process.texi: Document MTASC-safety properties.
149         * manual/platform.texi: Document MTASC-safety properties.
151         * manual/pipe.texi: Document MTASC-safety properties.
153         * manual/pattern.texi: Document MTASC-safety properties.
155         * manual/message.texi: Document MTASC-safety properties.
157         [BZ #12751]
158         * manual/memory.texi: Document MTASC-safety properties.
160         * manual/math.texi: Document MTASC-safety properties.
162         * manual/locale.texi: Document MTASC-safety properties.
164         * manual/llio.texi: Document MTASC-safety properties.
166         * manual/libdl.texi: New.
168         * manual/lang.texi: Document MTASC-safety properties.
170         * manual/job.texi: Document MTASC-safety properties.
172         * manual/getopt.texi: Document MTASC-safety properties.
174         * manual/ctype.texi: Document MTASC-safety properties.
176 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
178         [BZ #16046]
179         * csu/libc-tls.c (static_map): Remove variable.
180         (__libc_setup_tls): Use main executable's link map for TLS data.
181         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
182         casing for LM_ID_BASE and GL(dl_nns).
183         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
184         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
185         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
186         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
187         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
188         member.
189         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
190         l_phnum members.
192 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
194         * manual/debug.texi: Document MTASC-safety properties.
196 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
198         [BZ #16510]
199         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
200         of __x86_64__ when disabling x87 inline functions.
202 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
204         * manual/charset.texi: Document MTASC-safety properties.
206         * manual/crypt.texi: Document MTASC-safety properties.
208         * manual/conf.texi: Document MTASC-safety properties.
210         * manual/arith.texi: Document MTASC-safety properties.
212         * manual/argp.texi: Document MTASC-safety properties.
214         * manual/macros.texi: Introduce macros to document multi
215         thread, asynchronous signal and asynchronous cancellation
216         safety properties.
217         * manual/intro.texi: Introduce the properties themselves.
219 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
221         * sysdeps/sh/sh4/Makefile: New file.
223 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
225         * math/gen-libm-test.pl ($srcdir): New variable.
226         ($auto_input): Use it.
228 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
230         [BZ #16506]
231         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
232         access beyond array bounds when parsing netgroups file.
234         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
235         the old buffer before realloc.
237 2014-01-27  Allan McRae  <allan@archlinux.org>
239         * po/fr.po: Update French translation from translation project.
241 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
243         * sysdeps/sh/libm-test-ulps: Regenerate.
245 2014-01-24  David S. Miller  <davem@davemloft.net>
247         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
249 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
251         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
252         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
254 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
256         [BZ #16474]
257         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
258         string pointers after reallocation.
260 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
262         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
263         __SH4A__ instead of __SH_FPU_ANY__.
265 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
267         * sysdeps/sh/fpu_control.h: New file.
268         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
269         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
270         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
271         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
272         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
273         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
274         * sysdeps/sh/sys/ucontext.h: Remove.
275         * sysdeps/sh/sys: Remove directory.
277 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
279         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
280         s390/sys/ucontext.h.
281         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
282         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
284 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
286         [BZ #15605]
287         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
289 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
291         [BZ#16431]
292         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
293         Adjust the vDSO correctly for internal calls.
294         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
296 2014-01-20  Allan McRae  <allan@archlinux.org>
298         * po/ca.po: Update Catalan translation from translation project.
300 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
302         * sysdeps/s390/sotruss-lib.c: New file.
304 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
306         [BZ#16430]
307         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
308         (__GI___gettimeofday): Alias for a different internal symbol to avoid
309         local calls issues by not having a PLT stub required for IFUNC calls.
310         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
312 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
314         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
315         * math/test-fpucw-static.c: Likewise.
317 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
319         [BZ #16453]
320         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
322 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
324         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
325         implementation for powerpc.
327 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
329         [BZ #14782]
330         * sysdeps/posix/system.c (__libc_system): Do not enable
331         asynchronous cancellation.
333 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
335         [BZ #16427]
336         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
337         handling only for numbers special also in the IEEE case.
339 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
341         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
343 2014-01-11  Allan McRae  <allan@archlinux.org>
345         * po/bg.po: Update Bulgarian translation from translation project.
347         * po/de.po: Update German translation from translation project.
349 2014-01-10  Roland McGrath  <roland@hack.frob.com>
351         * sysdeps/generic/gcc-compat.h: New file.
353 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
355         * benchtests/asin-inputs: Correct slow inputs.
356         * benchtests/acos-inputs: Likewise.
358 2014-01-10  Allan McRae  <allan@archlinux.org>
360         * po:sv.po: Update Swedish translation from translation project.
362         * po/vi.po: Update Vietnamese translation from translation project.
364         * po/eo.po: Update Esperanto translation from translation project.
366         * po/cs.po: Update Czech translation from translation project.
368         * po/nl.po: Update Dutch translation from translation project.
370         * po/pl.po: Update Polish translation from translation project.
372         * po/ru.po: Update Russian translation from translation project.
374         * po/uk.po: Update Ukrainian translation from translation project.
376 2014-01-08  Brooks Moses  <bmoses@google.com>
378         * elf/dl-load.c: Fix comment typo.
380 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
382         * po/header.pot: Rename to...
383         * po/pot.header: ... this.
384         * po/Makefile: Use pot.header.
386 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
387             Maxim Kuvyrkov  <maxim@kugelworks.com>
389         [BZ #16394]
390         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
391         SRC and DEST against LEN.
393 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
395         [BZ #16414]
396         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
397         implementation.
398         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
400 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
404 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
406         [BZ #16408]
407         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
408         for large positive arguments.
410 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
412         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
414         * math/auto-libm-test-in: Mark various tests with
415         xfail-rounding:ldbl-128ibm.
416         * math/auto-libm-test-out: Regenerated.
418         [BZ #16407]
419         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
420         Increase overflow threshold.
422 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
424         [BZ #14286]
425         * stdio-common/vfprintf.c: Check for integer overflow.
427 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
429         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
430         the first argument and return value of __tls_get_addr_internal.
432 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
434         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
435         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
437 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
439         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
440         * sysdeps/s390/rtld-global-offsets.sym: New file.
441         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
442         GLIBC_2.19 symbol.
443         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
444         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
445         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
446         ... this.
447         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
448         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
449         ... this.
450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
451         Regenerate.
452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
453         Regenerate.
454         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
455         halfs of GPRs for high_gprs contexts.
456         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
457         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
458         field.
459         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
460         uc_flags field.
461         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
462         64 bit versions:
463         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
464         for high GPRs (uc_high_gprs) and for future extensions
465         (__reserved).
466         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
467         for future extensions (__reserved).
468         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
469         64 bit versions:
470         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
471         SC_HIGHGPRS offset definition.
472         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
473         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
475 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
477         * Versions.def: Add GLIBC_2.19 for libpthread.
478         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
479         siglongjmp for libpthread with GLIBC_2.19 symver.
480         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
481         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
482         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
483         * sysdeps/s390/__longjmp.c: New file.
484         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
485         * sysdeps/s390/longjmp.c: New file.
486         * sysdeps/s390/setjmp.S: New file.
487         * sysdeps/s390/sigjmp.S: New file.
488         * sysdeps/s390/v1-longjmp.c: New file.
489         * sysdeps/s390/v1-setjmp.h: New file.
490         * sysdeps/s390/v1-sigjmp.c: New file.
491         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
492         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
493         GLIBC_2.19 version.
494         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
495         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
496         versioned symbols for ____longjmp_chk.
497         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
498         Likewise.
499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
500         Regenerate.
501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
502         Regenerate.
503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
504         Regenerate.
505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
506         Regenerate.
507         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
508         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
509         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
510         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
511         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
512         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
513         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
514         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
515         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
516         * sysdeps/s390/rtld-__longjmp.c: New file.
517         * sysdeps/s390/rtld-setjmp.S: New file.
519 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
521         [BZ #16400]
522         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
523         Return -__logl (x) for small positive arguments without evaluating
524         a polynomial.
526 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
528         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
529         Rename to ...
530         (__ptrace_peeksiginfo_args): ... this.
531         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
532         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
533         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
535 2014-01-06  Allan McRae  <allan@archlinux.org>
537         * inet/netinet/in.h: Fix typo in comment.
539 2014-01-05  Andreas Jaeger  <aj@suse.de>
541         * sysdeps/i386/fpu/libm-test-ulps: Update.
543 2014-01-05  Allan McRae  <allan@archlinux.org>
545         * po/libc.pot: Regenerated.
547         * malloc/memusagestat.c: Fix gettext call formatting.
549 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
551         * nscd/nscd.c: Improve usage() output.
553 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
555         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
556         * sysdeps/unix/sysv/linux/configure: Regenerated.
557         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
558         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
560 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
562         [BZ #16390]
563         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
564         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
566 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
568         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
569         extra tokens at end of #undef directive.
570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
571         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
572         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
574 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
576         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
578         * math/auto-libm-test-in: Mark various tests with
579         xfail-rounding:ldbl-128ibm.
580         * math/auto-libm-test-out: Regenerated.
582 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
584         [BZ #16386]
585         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
586         numbers with subnormal high part when calculating exponent.
588         [BZ #16385]
589         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
590         fabs.
592         [BZ #16384]
593         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
594         M_LN2l.
595         (__ieee754_acoshl): Use __log1pl not __log1p.
597 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
599         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
600         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
601         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
602         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
603         Convert to GNU style.
604         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
605         mem2mem_check, mem2chunk_check, top_check, realloc_check,
606         memalign_check, __malloc_set_state): Likewise.
607         * malloc/mallocbug.c (main): Likewise.
608         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
609         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
610         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
611         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
612         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
613         * malloc/malloc.h: Likewise.
614         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
615         memalignhook, reallochook, mabort): Likewise.
616         * malloc/mcheck.h: Likewise.
617         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
618         mmap64, mremap, munmap, dest): Likewise.
619         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
620         * malloc/morecore.c (__default_morecore): Likewise.
621         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
622         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
623         _obstack_allocated_p, obstack_free, _obstack_memory_used,
624         print_and_abort): Likewise.
625         * malloc/obstack.h: Likewise.
626         * malloc/set-freeres.c (__libc_freeres): Likewise.
627         * malloc/tst-mallocstate.c (main): Likewise.
628         * malloc/tst-mtrace.c (main): Likewise.
629         * malloc/tst-realloc.c (do_test): Likewise.
631 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
633         [BZ #16366]
634         * nscd/netgroupcache.c (do_notfound): New function.
635         (addgetnetgrentX): Use it.
637         [BZ # 16365]
638         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
639         NSS_STATUS_NOTFOUND.
641 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
643         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
646 2014-01-01  Allan McRae  <allan@archlinux.org>
648         * scripts/update-copyrights: Update configure input file suffix.
650         * NEWS: Update copyright year.
651         * catgets/gencat.c: Likewise.
652         * csu/version.c: Likewise.
653         * debug/catchsegv.sh: Likewise.
654         * debug/pcprofiledump.c: Likewise.
655         * debug/xtrace.sh: Likewise.
656         * elf/ldconfig.c: Likewise.
657         * elf/ldd.bash.in: Likewise.
658         * elf/pldd.c: Likewise.
659         * elf/sotruss.ksh: Likewise.
660         * elf/sprof.c: Likewise.
661         * iconv/iconv_prog.c: Likewise.
662         * iconv/iconvconfig.c: Likewise.
663         * locale/programs/locale.c: Likewise.
664         * locale/programs/localedef.c: Likewise.
665         * login/programs/pt_chown.c: Likewise.
666         * malloc/memusage.sh: Likewise.
667         * malloc/memusagestat.c: Likewise.
668         * malloc/mtrace.pl: Likewise.
669         * manual/libc.texinfo: Likewise.
670         * nscd/nscd.c: Likewise.
671         * nss/getent.c: Likewise.
672         * nss/makedb.c: Likewise.
673         * posix/getconf.c: Likewise.
674         * scripts/test-installation.pl: Likewise.
676         * All files with FSF copyright notices: Update copyright dates
677         using scripts/update-copyrights.
678         * intl/plural.c: Regenerated.
679         * locale/programs/charmap-kw.h: Likewise.
680         * locale/programs/locfile-kw.h: Likewise.
682 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
684         * sysdeps/unix/sysv/linux/configure: Regenerated.
685         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
686         the linux/fanotify.h header.
687         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
688         HAVE_LINUX_FANOTIFY_H is defined.
690 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
692         * benchtests/cos-inputs: New inputs.
693         * benchtests/sin-inputs: Likewise.
695         * benchtests/atan-inputs: New inputs. Fix name of multiple
696         precision fallback inputs.
698         * benchtests/atanh-inputs: New inputs.
699         * benchtests/tanh-inputs: Likewise.
701         * benchtests/acosh-inputs: New inputs.
702         * benchtests/asinh-inputs: Likewise.
704         * benchtests/cosh-inputs: New inputs.
705         * benchtests/sinh-inputs: Likewise.
707         * benchtests/acos-inputs: Add more inputs.
708         * benchtests/asin-inputs: Likewise.
710 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
712         [BZ #16375]
713         * manual/arith.texi: Fix spelling.
714         * manual/charset.texi: Likewise.
715         * manual/errno.texi: Likewise.
716         * manual/filesys.texi: Likewise.
717         * manual/lang.texi: Likewise.
718         * manual/llio.texi: Likewise.
719         * manual/locale.texi: Likewise.
720         * manual/message.texi: Likewise.
721         * manual/resource.texi: Likewise.
722         * manual/search.texi: Likewise.
723         * manual/setjmp.texi: Likewise.
724         * manual/stdio.texi: Likewise.
725         * manual/string.texi: Likewise.
726         * manual/sysinfo.texi: Likewise.
727         * manual/time.texi: Likewise.
729 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
731         * po/sl.po: New file.
733 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
735         * .gitignore: Add core/.gdbinit/.gdb_history.
737 2013-12-27  Allan McRae  <allan@archlinux.org>
739         [BZ #16369]
740         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
741         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
743 2013-12-24  Brooks Moses  <bmoses@google.com>
745         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
746         all compilers that claim C++98 compliance, not just GCC.
747         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
748         Likewise.
750 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
752         * NEWS: Restore accidentally deleted bug-fix entries.
754 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
755             Ondřej Bílka  <neleai@seznam.cz>
757         [BZ #15073]
758         * malloc/malloc.c (_int_free): Perform sanity check only if we
759         have_lock.
761 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
763         [BZ #12986]
764         * manual/stdio.texi (String Input Conversions): Clarify that character
765         classes are not supported.
767 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
771 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
773         [BZ #16337]
774         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
775         Calculate results for small negative arguments directly rather
776         than using reflection formula with special underflow handling.
778         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
779         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
780         sysdeps/unix/bsd/bsd4.4/syscalls.list.
781         (fchflags): Likewise.
782         (revoke): Likewise.
783         (setlogin): Likewise.
784         (sigaltstack): Likewise.
785         (wait4): Likewise.
786         (sigblock): Remove.
787         (sigsetmask): Likewise.
788         (wait3): Likewise.
789         (waitpid): Likewise.
790         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
791         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
792         file.
793         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
794         * sysdeps/unix/bsd/Makefile: ... here.
795         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
796         * sysdeps/unix/bsd/Versions: ... here.
797         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
798         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
799         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
800         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
801         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
802         * sysdeps/unix/bsd/sigblock.c: ... here.
803         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
804         * sysdeps/unix/bsd/sigsetmask.c: ... here.
805         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
806         * sysdeps/unix/bsd/sigvec.c: ... here.
807         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
808         * sysdeps/unix/bsd/tcdrain.c: ... here.
809         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
810         * sysdeps/unix/bsd/tcgetattr.c: ... here.
811         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
812         * sysdeps/unix/bsd/tcsetattr.c: ... here.
813         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
814         * sysdeps/unix/bsd/wait.c: ... here.
815         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
816         * sysdeps/unix/bsd/wait3.c: ... here.
817         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
818         * sysdeps/unix/bsd/waitpid.c: ... here.
820 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
822         [BZ #16356]
823         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
824         round-to-nearest for [!USE_AS_EXPM1L].
825         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
826         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
827         more tests of exp and exp10.  Expect some exp10 tests to miss
828         exceptions or fail in directed rounding modes.
829         * math/auto-libm-test-out: Regenerated.
830         * math/libm-test.inc (exp10_tonearest_test_data): New array.
831         (exp10_test_tonearest): New function.
832         (exp10_towardzero_test_data): New array.
833         (exp10_test_towardzero): New function.
834         (exp10_downward_test_data): New array.
835         (exp10_test_downward): New function.
836         (exp10_upward_test_data): New array.
837         (exp10_test_upward): New function.
838         (main): Call the new functions.
839         * sysdeps/i386/fpu/libm-test-ulps: Update.
840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
842 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
844         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
845         asinh, atan, atan2, atanh, cbrt, cos and cosh.
846         * math/auto-libm-test-out: Regenerated.
847         * math/libm-test.inc (acosh_test_data): Add more tests.
848         (atanh_test_data): Likewise.
849         (ceil_test_data): Likewise.
850         (copysign_test_data): Likewise.
851         * sysdeps/i386/fpu/libm-test-ulps: Update.
852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
854         * timezone/checktab.awk: Update from tzcode 2013i.
855         * timezone/private.h: Likewise.
856         * timezone/scheck.c: Likewise.
857         * timezone/tzfile.h: Likewise.
858         * timezone/tzselect.ksh: Likewise.
859         * timezone/zdump.c: Likewise.
860         * timezone/zic.c: Likewise.
862         * math/auto-libm-test-in: Add tests of cpow.
863         * math/auto-libm-test-out: Regenerated.
864         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
865         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
866         mpc_cc_c.
867         (func_calc_desc): Add mpc_cc_c union field.
868         (test_functions): Add cpow.
869         (special_fill_2pi): New function.
870         (special_real_inputs): Add 2pi.
871         (calc_generic_results): Handle mpc_cc_c.
872         * sysdeps/i386/fpu/libm-test-ulps: Update.
873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
875         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
876         csqrt, ctan and ctanh.
877         * math/auto-libm-test-out: Regenerated.
878         * math/libm-test.inc (TEST_COND_x86_64): New macro.
879         (TEST_COND_x86): Likewise.
880         (ccos_test_data): Use AUTO_TESTS_c_c.
881         (ccosh_test_data): Likewise.
882         (cexp_test_data): Likewise.
883         (clog_test_data): Likewise.
884         (csqrt_test_data): Likewise.
885         (ctan_test_data): Likewise.
886         (ctan_tonearest_test_data): Likewise.
887         (ctan_towardzero_test_data): Likewise.
888         (ctan_downward_test_data): Likewise.
889         (ctan_upward_test_data): Likewise.
890         (ctanh_test_data): Likewise.
891         (ctanh_tonearest_test_data): Likewise.
892         (ctanh_towardzero_test_data): Likewise.
893         (ctanh_downward_test_data): Likewise.
894         (ctanh_upward_test_data): Likewise.
895         * math/gen-auto-libm-tests.c (func_calc_method): Add value
896         mpc_c_c.
897         (func_calc_desc): Add mpc_c_c union field.
898         (FUNC_mpc_c_c): New macro.
899         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
900         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
901         ctanh.
902         (special_fill_min_subnorm_p120): New function.
903         (special_real_inputs): Add min_subnorm_p120.
904         (calc_generic_results): Handle mpc_c_c.
905         * sysdeps/i386/fpu/libm-test-ulps: Update.
906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
908 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
910         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
911         do_sin_slow): New functions.
912         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
913         cslow2, csloww1, csloww2): Use the new functions.
915         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
916         Use M to change sign of result instead of X.  Assume X is
917         positive.
918         (csloww1): Likewise.
919         (__sin): Adjust.
920         (__cos): Adjust.
922         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
923         arguments A and DA.
924         (__sin): Adjust.
925         (__cos): Likewise.
927         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
928         (__cos): Likewise.
929         (sloww1): Don't adjust sign of DX.
930         (csloww1): Likewise.
931         (sloww2): Use X directly and don't adjust sign of DX.
932         (csloww2): Likewise.
934 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
936         * math/auto-libm-test-in: Add tests of cabs and carg.
937         * math/auto-libm-test-out: Regenerated.
938         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
939         (carg_test_data): Likewise.
940         * math/gen-auto-libm-tests.c (func_calc_method): Add value
941         mpc_c_f.
942         (func_calc_desc): Add mpc_c_f union field.
943         (test_functions): Add cabs and carg.
944         (calc_generic_results): Handle mpc_c_f.
946         * sysdeps/powerpc/powerpc32/libgcc-compat.S
947         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
948         as a macro and a compat symbol.
949         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
950         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
951         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
952         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
953         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
954         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
955         not use .hidden.
956         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
957         Likewise.
958         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
959         Likewise.
960         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
961         Likewise.
962         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
963         Likewise.
964         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
965         Likewise.
966         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
967         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
968         from GLIBC_2.3.2.
970 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
974 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
976         * manual/texinfo.tex: Update to version 2013-11-26.10 with
977         trailing whitespace removed.
978         * scripts/config.guess: Update to version 2013-11-29.
979         * scripts/config.sub: Update to version 2013-10-01.
981         * math/auto-libm-test-in: Add tests of sincos.
982         * math/auto-libm-test-out: Regenerated.
983         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
984         * math/gen-auto-libm-tests.c (func_calc_method): Add value
985         mpfr_f_11.
986         (func_calc_desc): Add mpfr_f_11 union field.
987         (test_functions): Add sincos.
988         (calc_generic_results): Handle mpfr_f_11.
989         * sysdeps/i386/fpu/libm-test-ulps: Update.
990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
992 2013-12-19  Andreas Schwab  <schwab@suse.de>
994         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
995         CALL_MCOUNT.
996         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
997         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
998         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1000 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1002         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1003         * sysdeps/i386/fpu/libm-test-ulps: Update.
1004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1006         [BZ #16293]
1007         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1008         round-to-nearest mode when using frndint.
1009         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1010         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1011         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1012         Likewise.
1013         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1014         sinh test to fail.
1015         * math/auto-libm-test-out: Regenerated.
1016         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1017         (TEST_COND_x86): Likewise.
1018         (expm1_tonearest_test_data): New array.
1019         (expm1_test_tonearest): New function.
1020         (expm1_towardzero_test_data): New array.
1021         (expm1_test_towardzero): New function.
1022         (expm1_downward_test_data): New array.
1023         (expm1_test_downward): New function.
1024         (expm1_upward_test_data): New array.
1025         (expm1_test_upward): New function.
1026         (main): Run the new test functions.
1027         * sysdeps/i386/fpu/libm-test-ulps: Update.
1028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1030         * include/features.h: Update comment documenting feature test
1031         macros.  Mention _DEFAULT_SOURCE in comment.
1032         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1033         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1034         _BSD_SOURCE and _SVID_SOURCE.
1035         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1036         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1037         !_SVID_SOURCE]: Likewise.
1038         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1039         (__USE_POSIX_IMPLICITLY): Define.
1040         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1041         (_POSIX_SOURCE): Undefine and redefine.
1042         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1043         (_POSIX_C_SOURCE): Likewise.
1044         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1045         (Feature Test Macros): Update documentation of default features.
1047 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1049         * benchtests/Makefile: Add bench-strtok.
1050         * benchtests/bench-strtok.c: New file: strtok benchtest.
1052 2013-12-19  Allan McRae  <allan@archlinux.org>
1054         * manual/install.texi: Suppress menu for plain text output.
1055         * INSTALL: Regenerated.
1057 2013-12-18  Brooks Moses  <bmoses@google.com>
1059         [BZ #15846]
1060         * misc/getauxval.c: Include errno.h.
1061         (__getauxval): Set errno to ENOENT if the requested type is not
1062         found.
1063         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1064         don't declare with __attribute_const__.
1065         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1066         * manual/startup.texi: Document that getauxval sets errno.
1068 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1070         * math/auto-libm-test-in: Add tests of jn and yn.
1071         * math/auto-libm-test-out: Regenerated.
1072         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1073         (yn_test_data): Likewise.
1074         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1075         mpfr_if_f.
1076         (func_calc_desc): Add mpfr_if_f union field.
1077         (FUNC_mpfr_if_f): New macro.
1078         (test_functions): Add jn and yn.
1079         (calc_generic_results): Assert type of second input for
1080         mpfr_ff_f.  Handle mpfr_if_f.
1081         (output_for_one_input_case): Disable all checking for arguments
1082         fitting floating-point types in case of an integer argument.
1083         * sysdeps/i386/fpu/libm-test-ulps: Update.
1084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1087         Don't expect fegetround reference in libm.so.
1089 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1091         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1092         $(config-cflags-nofma).
1094 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1096         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1097         * math/auto-libm-test-out: Regenerated.
1099         [BZ #16338]
1100         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1101         to determine exponent and adjust argument to have exponent of -1.
1102         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1103         log2.
1104         * math/auto-libm-test-out: Regenerated.
1105         * sysdeps/i386/fpu/libm-test-ulps: Update.
1106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1108 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1110         * manual/probes.texi: Remove cases when per-thread arenas are
1111         disabled.
1113 2013-12-18  Andreas Schwab  <schwab@suse.de>
1115         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1116         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1117         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1118         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1119         * sysdeps/i386/i686/multiarch/Makefile: Update.
1120         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1122 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1124         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1125         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1127 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1129         Support TZ transition times < 00:00:00.
1130         This is needed for version-3 tz-format files; it supports time
1131         stamps past 2037 for America/Godthab (the only entry in the tz
1132         database for which this change is relevant).
1133         * manual/time.texi (TZ Variable): Document transition times
1134         from -167:59:59 through -00:00:01.
1135         * time/tzset.c (tz_rule): Time of day is now signed.
1136         (__tzset_parse_tz): Parse negative time of day.
1138         Document TZ transition times >= 25:00:00.
1139         * manual/time.texi (TZ Variable): Document transition times from
1140         25:00:00 through 167:59:59.  These are already supported, and this
1141         support will help with version-3 tz-format files.
1143         * manual/time.texi (TZ Variable): Modernize North America example
1144         to reflect current (i.e., 2007-and-later) daylight saving rules.
1146         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1148 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1150         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1151         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1152         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1153         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1154         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1155         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1156         * sysdeps/unix/bsd/clock.c: Likewise.
1157         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1158         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1159         * sysdeps/unix/bsd/init-posix.c: Likewise.
1160         * sysdeps/unix/bsd/poll.c: Likewise.
1161         * sysdeps/unix/bsd/ptsname.c: Likewise.
1162         * sysdeps/unix/bsd/seekdir.c: Likewise.
1163         * sysdeps/unix/bsd/setegid.c: Likewise.
1164         * sysdeps/unix/bsd/seteuid.c: Likewise.
1165         * sysdeps/unix/bsd/setgid.c: Likewise.
1166         * sysdeps/unix/bsd/setrgid.c: Likewise.
1167         * sysdeps/unix/bsd/setruid.c: Likewise.
1168         * sysdeps/unix/bsd/setsid.c: Likewise.
1169         * sysdeps/unix/bsd/setuid.c: Likewise.
1170         * sysdeps/unix/bsd/sigaction.c: Likewise.
1171         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1172         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1173         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1174         * sysdeps/unix/bsd/telldir.c: Likewise.
1175         * sysdeps/unix/bsd/times.c: Likewise.
1176         * sysdeps/unix/bsd/usleep.c: Likewise.
1178         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1179         ($(objpfx)libbsd-compat.a): Remove rule.
1181         * include/features.h (__FAVOR_BSD): Do not define.
1182         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1183         features conflicting with POSIX.
1184         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1185         (_BSD_SOURCE): Remove description of not being a subset of other
1186         feature test macros.
1187         * manual/job.texi (getpgrp): Do not document BSD version.
1188         (getpgid): Do not document by reference to BSD getpgrp.
1189         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1190         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1191         * signal/signal.h [__FAVOR_BSD]: Likewise.
1192         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1193         instead of making contents conditional on [__FAVOR_BSD].
1194         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1196 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1200 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1202         [BZ #16314]
1203         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1204         values below 2**-450, not 2**-500.
1205         * math/auto-libm-test-in: Don't allow spurious underflow from
1206         hypot.
1207         * math/auto-libm-test-out: Regenerated.
1209         [BZ #16316]
1210         [BZ #16330]
1211         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1212         values of ha and hb and sort them after adjusting subnormal
1213         arguments.
1214         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1215         Likewise.
1216         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1217         values of ea and eb and sort them after adjusting subnormal
1218         arguments.
1219         * math/auto-libm-test-in: Do not expect some hypot tests of
1220         subnormals to fail.  Add more hypot tests.
1221         * math/auto-libm-test-out: Regenerated.
1223 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1225         [BZ #13304]
1226         * sysdeps/sh/s_fma.c: New file.
1227         * sysdeps/sh/s_fmaf.c: New file.
1228         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1229         version.
1230         * sysdeps/sh/Implies: Add sh/soft-fp.
1232 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1234         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1235         level of indirection to members `objname', `errstring', `malloced'.
1236         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1237         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1238         it as the __longjmp argument (just pass 1 instead).
1239         (_dl_catch_error): Initialize C with argument pointers and address of
1240         volatile local ERRCODE rather than copying values out of C at return.
1242 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1244         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1245         * math/auto-libm-test-out: Regenerated.
1246         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1247         (hypot_test_data): Likewise.
1248         (pow_test_data): Likewise.
1249         (pow_tonearest_test_data): Likewise.
1250         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1251         mpfr_ff_f.
1252         (func_calc_desc): Add mpfr_ff_f union field.
1253         (FUNC_mpfr_ff_f): New macro.
1254         (test_functions): Add atan2, hypot and pow.
1255         (special_fill_min): New function.
1256         (special_fill_minus_min): Likewise.
1257         (special_fill_min_subnorm): Likewise.
1258         (special_fill_minus_min_subnorm): Likewise.
1259         (special_real_inputs): Add min, -min, min_subnorm and
1260         -min_subnorm.
1261         (calc_generic_results): Handle mpfr_ff_f.
1262         * sysdeps/i386/fpu/libm-test-ulps: Update.
1263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1265 2013-12-16  Will Newton  <will.newton@linaro.org>
1267         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1268         (Aligned Memory Blocks): Add documentation for aligned_alloc
1269         and suggest it as an alternative to posix_memalign.
1270         (Hooks for Malloc): Document __memalign_hook is also called
1271         for aligned_alloc.  (Summary of Malloc): Add summary for
1272         aligned alloc.  Document __memalign_hook is also called
1273         for aligned_alloc.
1275 2013-12-16  Will Newton  <will.newton@linaro.org>
1277         * manual/memory.texi (Malloc Examples): Clarify default
1278         alignment documentation.  Suggest posix_memalign rather
1279         than memalign or valloc.
1280         (Aligned Memory Blocks): Remove suggestion to use memalign
1281         or valloc.  Remove obsolete comment about BSD.
1282         Document memalign errno values and mark the function obsolete.
1283         Document posix_memalign returned error codes.  Mark valloc
1284         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1285         called for posix_memalign and valloc.
1286         (Summary of Malloc): Add posix_memalign to function summary.
1287         __memalign_hook is also called for posix_memalign and valloc.
1289 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1291         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1292         TAYLOR_SIN.
1293         (__sin): Adjust.
1294         (__cos): Likewise.
1295         (sloww): Use mynumber union.  Expand ternary operator into
1296         if-else statements.
1297         (cslow): use mynumber union.
1299 2013-12-16  Allan McRae  <allan@archlinux.org>
1301         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1302         * configure: Regenerated.
1304         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1306         [BZ #14120]
1307         * configure.ac: Added --enable-maintainer-mode. Check for
1308         autoconf when enabled.
1309         * configure: Regenerated.
1311         * nscd/nscd.service: New file.
1312         * nscd/nscd.tmpfiles: New file.
1314 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1316         [BZ #12100]
1317         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1318         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1319         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1320         (strstr): Add __strstr_sse2_unaligned ifunc.
1321         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1322         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1323         (strcasestr): Remove __strcasestr_sse42 ifunc.
1324         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1328 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1330         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1331         * sysdeps/sh/bits/fenv.h: ... here.
1332         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1334 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1336         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1338 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1341         hypotf multiarch implementations.
1342         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1343         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1344         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1345         multiarch hypot for PPC64.
1346         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1347         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1349         multiarch hypotf for PPC64.
1351 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1354         modff multiarch implementations.
1355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1358         multiarch modf for PPC64.
1359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1362         multiarch modff for PPC64.
1364 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1367         and logl multiarch implementations.
1368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1371         multiarch logb for PPC64.
1372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1375         multiarch logb for PPC64.
1376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1379         multiarch logb for PPC64.
1381 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1384         isinff multiarch implementation.
1385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1386         file.
1387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1389         multiarch isinf for PPC64.
1390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1391         file.
1392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1393         multiarch isinff for PPC64.
1395 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1397         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1398         finitef multiarch implementation.
1399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1400         file.
1401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1403         multiarch finite for PPC64.
1404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1405         file.
1406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1407         multiarch finitef for PPC64.
1409 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1412         lrint multiarch implementation.
1413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1414         file.
1415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1417         multiarch llrint for PPC64.
1418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1419         multiarch lrint for PPC64.
1421 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1424         copysignf multiarch implementation.
1425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1426         file.
1427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1428         file.
1429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1430         multiarch copysign for PPC64.
1431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1432         multiarch copysignf for PPC64.
1434 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1437         multiarch implementation.
1438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1439         file.
1440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1441         file.
1442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1443         file.
1444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1445         file.
1446         multiarch llround for PPC64.
1447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1448         multiarch trunc for PPC64.
1449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1450         multiarch truncf for PPC64.
1452 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1455         multiarch implementation.
1456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1457         file.
1458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1459         file.
1460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1461         file.
1462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1463         file.
1464         multiarch llround for PPC64.
1465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1466         multiarch round for PPC64.
1467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1468         multiarch roundf for PPC64.
1470 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1472         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1473         multiarch implementation.
1474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1475         file.
1476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1477         file.
1478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1479         file.
1480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1481         file.
1482         multiarch llround for PPC64.
1483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1484         multiarch floor for PPC64.
1485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1486         multiarch floorf for PPC64.
1488 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1491         multiarch implementation.
1492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1493         file.
1494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1495         file.
1496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1497         file.
1498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1499         file.
1500         multiarch llround for PPC64.
1501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1502         multiarch ceil for PPC64.
1503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1504         multiarch ceilf for PPC64.
1506 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1509         multiarch implementation.
1510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1511         file.
1512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1513         file.
1514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1515         file.
1516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1517         multiarch llround for PPC64.
1518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1519         multiarch lround for PPC64.
1521 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1524         multiarch implementation.
1525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1528         file.
1529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1532         multiarch isnan for PPC64.
1533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1534         multiarch isnanf for PPC64.
1536 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1538         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1539         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1540         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1541         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1542         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1545 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1547         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1548         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1549         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1550         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1552 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1555         multiarch implementations.
1556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1557         (__libc_ifunc_impl_list): Likewise.
1558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1559         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1560         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1561         multiarch stpcpy for PPC64.
1563 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1566         multiarch implementations.
1567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1568         (__libc_ifunc_impl_list): Likewise.
1569         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1570         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1571         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1572         multiarch strcpy for PPC64.
1574 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1576         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1577         redefine function name.
1578         (_wordcopy_fwd_dest_aligned): Likewise.
1579         (_wordcopy_bwd_aligned): Likewise.
1580         (_wordcopy_bwd_dest_aligned): Likewise.
1581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1582         multiarch implementations.
1583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1584         (__libc_ifunc_impl_list): Likewise.
1585         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1586         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1587         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1588         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1589         multiarch wcscpy for PPC64.
1591 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1594         multiarch implementations.
1595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1596         (__libc_ifunc_impl_list): Likewise.
1597         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1598         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1599         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1600         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1601         multiarch wcscpy for PPC64.
1603 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1606         multiarch implementations.
1607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1608         (__libc_ifunc_impl_list): Likewise.
1609         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1610         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1611         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1612         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1613         multiarch wcsrchr for PPC64.
1615 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1618         multiarch implementations.
1619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1620         (__libc_ifunc_impl_list): Likewise.
1621         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1622         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1623         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1624         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1625         multiarch wcschr for PPC64.
1627 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1630         multiarch implementations.
1631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1632         (__libc_ifunc_impl_list): Likewise.
1633         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1634         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1635         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1636         multiarch strchrnul for PPC64.
1638 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1641         implementations.
1642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1643         (__libc_ifunc_impl_list): Likewise.
1644         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1645         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1646         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1647         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1648         strchr for PPC64.
1650 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1653         implementations.
1654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1655         (__libc_ifunc_impl_list): Likewise.
1656         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1657         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1658         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1659         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1660         strncmp for PPC64.
1662 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1665         multiarch implementations.
1666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1667         (__libc_ifunc_impl_list): Likewise.
1668         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1669         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1670         strncasecmp for PPC64.
1671         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1672         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1673         multiarch strncasecmp_l for PPC64.
1675 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1678         multiarch implementations.
1679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1680         (__libc_ifunc_impl_list): Likewise.
1681         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1682         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1683         multiarch strcasecmp for PPC64.
1684         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1685         file.
1686         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1687         multiarch strcasecmp_l for PPC64.
1689 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1692         implementations.
1693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1694         (__libc_ifunc_impl_list): Likewise.
1695         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1696         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1697         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1698         strnlen for PPC64.
1700 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1703         implementations.
1704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1705         (__libc_ifunc_impl_list): Likewise.
1706         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1707         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1708         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1709         strlen for PPC64.
1711 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1714         implementations.
1715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1716         (__libc_ifunc_impl_list): Likewise.
1717         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1718         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1719         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1720         rawmemrchr for PPC64.
1722 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1725         implementation.
1726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1727         (__libc_ifunc_impl_list): Likewise.
1728         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1729         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1730         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1731         memrchr for PPC64.
1733 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1736         implementation.
1737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1738         (__libc_ifunc_impl_list): Likewise.
1739         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1740         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1741         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1742         memchr for PPC64.
1744 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1747         implementation.
1748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1749         (__libc_ifunc_impl_list): Likewise.
1750         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1751         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1752         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1753         mempcpy for PPC64.
1755 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1757         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1758         avoid cretion of __bzero symbol.
1759         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1760         Likewise.
1761         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1762         Likewise.
1763         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1764         Likewise.
1765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1766         multiarch implementations.
1767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1768         (__libc_ifunc_impl_list): Likewise.
1769         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1770         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1771         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1772         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1773         bzero for PPC32.
1774         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1775         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1776         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1777         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1778         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1779         memset for PPC64.
1780         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1782 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1784         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1786         implementations.
1787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1788         (__libc_ifunc_impl_list): Likewise.
1789         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1790         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1791         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1792         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1793         memcmp for PPC64.
1795 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1798         multiarch for POWER/PPC64.
1799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1800         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1801         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1802         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1803         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1804         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1805         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1806         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1807         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1808         memcpy for PPC64.
1810 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1812         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1813         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1814         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1815         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1816         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1817         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1818         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1819         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1820         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1821         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1822         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1823         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1824         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1825         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1826         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1835 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1837         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1839 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1841         * benchtests/Makefile (bench): Add exp2 and log2.
1842         (LDLIBS-bench-exp2): Add -lm.
1843         (LDLIBS-bench-log2): Likewise.
1844         * benchtests/exp2-inputs: New inputs file.
1845         * benchtests/log2-inputs: New inputs file.
1846         * benchtests/log-inputs: Add new inputs.
1847         * benchtests/tan-inputs: Likewise.
1849 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1851         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1852         definition...
1853         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1854         csloww1, csloww2): ... from here.
1856         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1857         instead of structures.
1858         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1859         (POLYNOMIAL): Likewise.
1860         (TAYLOR_SLOW): Likewise.
1861         (__sin): Likewise.
1862         (__cos): Likewise.
1863         (slow1): Likewise.
1864         (slow2): Likewise.
1865         (sloww): Likewise.
1866         (sloww1); Likewise.
1867         (sloww2): Likewise.
1868         (bsloww1): Likewise.
1869         (bsloww2): Likewise.
1870         (cslow2): Likewise.
1871         (csloww): Likewise.
1872         (csloww1): Likewise.
1873         (csloww2): Likewise.
1875 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1877         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1878         (__malloc_assert, __libc_realloc, __libc_calloc,
1879         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1880         memcpy and memset.
1881         * malloc/hooks.c (realloc_check): Likewise.
1883 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1885         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1886         * malloc/arena.c: Remove PER_THREAD conditional.
1887         [!PER_THREAD]: Remove code.
1888         (ptmalloc_unlock_all2): Likewise.
1889         (ptmalloc_init): Likewise.
1890         (_int_new_arena): Likewise.
1891         (arena_get2): Likewise.
1892         * malloc/hooks.c (__malloc_get_state): Likewise.
1893         (__malloc_set_state): Likewise.
1894         * malloc/malloc.c: Likewise.
1895         (struct malloc_state): Likewise.
1896         (struct malloc_par): Likewise.
1897         (__libc_realloc): Likewise.
1898         (__libc_mallopt): Likewise.
1900 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1902         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1904 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1906         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1907         macro to a function.  Check for zero perturb_byte.
1908         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1910 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1912         * malloc/malloc.c: (force_reg): Remove.
1913         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1914         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1915         force_reg by atomic_forced_read.
1916         * malloc/arena.c (ptmalloc_init): Likewise.
1917         * malloc/hooks.c (top_check): Likewise.
1919 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1923 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1927 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1929         * math/auto-libm-test-in: Add tests of lgamma.
1930         * math/auto-libm-test-out: Regenerated.
1931         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1932         (M_LOG_2_SQRT_PIl): Likewise.
1933         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1934         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1935         mpfr_f_f1.
1936         (func_calc_desc): Add mpfr_f_f1 union field.
1937         (ARGS1): New macro.
1938         (ARGS2): Likewise.
1939         (ARGS3): Likewise.
1940         (ARGS4): Likewise.
1941         (RET1): Likewise.
1942         (RET2): Likewise.
1943         (CALC): Likewise.
1944         (FUNC): Likewise.
1945         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1946         (test_functions): Add lgamma.
1947         (calc_generic_results): Handle mpfr_f_f1.
1948         * sysdeps/i386/fpu/libm-test-ulps: Update.
1949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1951 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1953         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1954         __mpn_add_n for PowerPC64/POWER7.
1955         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1956         __mpn_sub_n for PowerPC64/POWER7.
1958 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1960         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1961         __mpn_addmul_1 for PowerPC64.
1962         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1963         __mpn_submul_1 for PowerPC64.
1964         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1965         for PowerPC64.
1966         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1967         for PowerPC64.
1969 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1971         [BZ #15089]
1972         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1974 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1976         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1978 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1980         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1981         add multiarch folders.
1982         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1983         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1984         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1985         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1986         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1987         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1988         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1989         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1990         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1991         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1992         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2000 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2003         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2005         New file.
2006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2007         New file.
2008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2009         multiarch __ieee754_hypot for PowerPC32.
2010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2011         New file.
2012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2013         New file.
2014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2015         multiarch __ieee754_hypotf for PowerPC32.
2017 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2019         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2020         long_double_symbol only if __logbl is defined.
2021         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2022         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2024         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2026         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2027         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2028         path for implementation.
2029         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2030         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2032         logb, and logbl multiarch implementations for PowerPC32.
2033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2034         file.
2035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2036         file.
2037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2038         multiarch logb for PowerPC32.
2039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2040         file.
2041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2042         file.
2043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2044         multiarch logbf for PowerPC32.
2045         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2047         file.
2048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2049         multiarch logbl implementation for PowerPC32.
2051 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2054         and modff multiarch implementations.
2055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2056         New file.
2057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2058         New file.
2059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2060         multiarch modf for PowerPC32.
2061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2062         New file.
2063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2064         New file.
2065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2066         multiarch modff for PowerPC32.
2068 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2071         and lrintf multiarch implementations.
2072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2073         New file.
2074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2075         New file.
2076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2077         multiarch lrint for PowerPC32.
2078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2079         file: multiarch lrintf for PowerPC32.
2081 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2084         and lroundf multiarch implementations.
2085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2086         New file.
2087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2088         New file.
2089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2090         New file.
2091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2092         multiarch lround for PowerPC32.
2093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2094         file: multiarch lroundf for PowerPC32.
2096 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2099         copysign and copysignf multiarch implementations.
2100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2101         New file.
2102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2103         New file.
2104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2105         file: multiarch copysign for PowerPC32.
2106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2107         file: multiarch copysignf for PowerPC32.
2109 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2112         and truncf multiarch implementations.
2113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2114         New file.
2115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2116         file.
2117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2118         multiarch trunc for PowerPC32.
2119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2120         New file.
2121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2122         New file.
2123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2124         multiarch truncf for PowerPC32.
2126 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2129         and roundf multiarch implementations.
2130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2131         New file.
2132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2133         file.
2134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2135         multiarch round for PowerPC32.
2136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2137         New file.
2138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2139         New file.
2140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2141         multiarch roundf for PowerPC32.
2143 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2146         and floorf multiarch implementations.
2147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2148         New file.
2149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2150         file.
2151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2152         multiarch floor for PowerPC32.
2153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2154         New file.
2155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2156         New file.
2157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2158         multiarch floorf for PowerPC32.
2160 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2163         and ceilf multiarch implementations.
2164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2165         New file.
2166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2167         file.
2168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2169         multiarch ceil for PowerPC32.
2170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2171         New file.
2172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2173         file.
2174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2175         multiarch ceilf for PowerPC32.
2177 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2179         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2180         is defined.
2181         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2182         FINITEF is defined.
2183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2184         and finitef multiarch implementations.
2185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2186         New file.
2187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2188         file.
2189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2190         multiarch finite for PowerPC32.
2191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2192         New file.
2193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2194         file: multiarch finitef for PowerPC32.
2196 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2199         and isinff multiarch implementations.
2200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2201         file.
2202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2203         file.
2204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2205         multiarch isinf for PowerPC32.
2206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2207         New file.
2208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2209         multiarch isinff for PowerPC32.
2211 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2213         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2214         alias when __isnan is defined.
2215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2216         and isnanf multiarch implementations.
2217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2218         file.
2219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2220         file.
2221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2222         file.
2223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2224         file.
2225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2226         multiarch isnan for PowerPC32.
2227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2228         New file.
2229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2230         New file.
2231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2232         multiarch isnanf for PowerPC32.
2234 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2237         and sqrtf multiarch implementations.
2238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2239         file.
2240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2241         file.
2242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2243         multiarch sqrt for PowerPC32.
2244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2245         file.
2246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2247         file.
2248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2249         multiarch sqrtf for PowerPC32.
2251 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2254         and llroundf multiarch implementations.
2255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2256         New file.
2257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2258         New file.
2259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2260         New file.
2261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2262         file: multiarch llround for PowerPC32.
2263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2264         file: multiarch llroundf for PowerPC32.
2266 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2269         multiarch PowerPC32 fpu implementations.
2270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2271         New file.
2272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2273         New file.
2274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2275         multiarch llrint for PowerPC32.
2276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2277         New file.
2278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2279         New file.
2280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2281         file.
2283 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2287 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2289         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2290         file.
2291         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2292         file.
2293         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2294         file.
2295         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2296         multiarch wordcopy for PPC32.
2297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2298         wordcopy objects.
2299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2300         (__libc_ifunc_impl_list): Likewise.
2301         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2302         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2303         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2304         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2305         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2306         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2308 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2310         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2312         file.
2313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2314         file.
2315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2316         file.
2317         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2318         multiarch wcscpy for PPC32.
2319         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2320         multiarch objects.
2321         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2322         (__libc_ifunc_impl_list): Likewise.
2323         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2324         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2325         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2326         sysdeps/powerpc/power6/wcscpy.c.
2328 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2330         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2332         file.
2333         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2334         file.
2335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2336         file.
2337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2338         multiarch wcsrchr for PPC32.
2339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2340         multiarch objects.
2341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2342         (__libc_ifunc_impl_list): Likewise.
2343         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2344         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2345         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2346         sysdeps/powerpc/power6/wcsrchr.c.
2348 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2350         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2351         file.
2352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2353         file.
2354         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2356         multiarch wcschr for PPc32.
2357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2358         multiarch objects.
2359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2360         (__libc_ifunc_impl_list): Likewise.
2361         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2362         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2363         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2364         sysdeps/powerpc/power6/wcschr.c.
2366 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2368         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2369         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2370         file.
2371         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2372         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2373         file: multiarch strchr for PPC32.
2374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2375         multiarch objects.
2376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2377         (__libc_ifunc_impl_list): Likewise.
2379 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2381         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2382         name.
2383         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2384         file.
2385         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2386         file.
2387         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2388         multiarch strchrnul for PPC32.
2389         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2390         multiarch objects.
2391         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2392         (__libc_ifunc_impl_list): Likewise.
2394 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2396         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2397         file.
2398         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2399         multiarch strncasecmp for PPC32.
2400         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2401         file.
2402         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2403         multiarch strncasecmp_l for PPC32.
2404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2405         strncasecmp multiarch objects.
2406         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2407         (__libc_ifunc_impl_list): Likewise.
2409 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2411         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2412         file.
2413         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2414         multiarch strncasecmp for PPC32.
2415         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2416         New file.
2417         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2418         multiarch strcasecmp_l for PPC32.
2419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2420         multiarch objects.
2421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2422         (__libc_ifunc_impl_list): Likewise.
2424 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2426         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2427         file.
2428         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2429         file.
2430         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2431         multiarch strncmp for PPC32.
2432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2433         multiarch objects.
2434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2435         (__libc_ifunc_impl_list): Likewise.
2437 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2439         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2440         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2441         file.
2442         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2443         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2445         multiarch objects.
2446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2447         (__libc_ifunc_impl_list): Likewise.
2449 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2451         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2452         file.
2453         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2454         file.
2455         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2457         multiarch objects.
2458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2459         (__libc_ifunc_impl_list): Likewise.
2461 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2463         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2464         file.
2465         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2466         file.
2467         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2468         multiarch rawmemchr for PPC32.
2469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2470         multiarch objects.
2471         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2472         (__libc_ifunc_impl_list): Likewise.
2474 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2476         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2477         file.
2478         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2479         file.
2480         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2481         file: memrchr multiarch for PPC32.
2482         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2483         multiarch objects.
2484         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2485         (__libc_ifunc_impl_list): Likewise.
2487 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2489         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2490         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2491         file.
2492         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2493         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2494         multiarch memchr for PPC32.
2495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2496         multiarch objects.
2497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2498         (__libc_ifunc_impl_list): Likewise.
2500 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2502         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2503         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2504         file.
2505         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2506         file.
2507         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2508         file: multiarch mempcpy for PPC32.
2509         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2510         multiarch objects.
2511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2512         (__libc_ifunc_impl_list): Likewise.
2514 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2516         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2517         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2518         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2519         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2520         multiarch bzero for PPC32.
2521         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2522         file.
2523         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2524         file.
2525         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2526         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2527         file: multiarch memset for PPC32.
2528         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2530         memset multiarch objects.
2531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2532         (__libc_ifunc_impl_list): Likewise.
2534 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2536         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2537         file.
2538         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2539         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2540         memcmp for PPC32.
2541         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2542         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2543         multiarch objects.
2544         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2545         (__libc_ifunc_impl_list): Likewise.
2547 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2549         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2550         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2551         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2552         file.
2553         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2554         file.
2555         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2556         file.
2557         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2558         multiarch memcpy for PPC32.
2559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2560         multiarch objects.
2561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2562         (__libc_ifunc_impl_list): Likewise.
2564 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2567         support multiarch for POWER/PPC32.
2568         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2569         Likewise.
2570         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2572         Implies file to make multiarch folder appers before the fpu and
2573         default folder for power4 configuration.
2575 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2577         * scripts/bench.pl: Append volatile keyword to type.
2579 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2581         * sysdeps/sh/sotruss-lib.c: New file.
2582         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2584 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2588 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2590         [BZ #6810]
2591         * math/w_tgamma.c: Include <errno.h>.
2592         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2593         * math/w_tgammaf.c: Include <errno.h>.
2594         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2595         * math/w_tgammal.c: Include <errno.h>.
2596         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2597         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2598         underflow.  Add more tgamma tests.
2599         * math/auto-libm-test-out: Regenerated.
2600         * sysdeps/i386/fpu/libm-test-ulps: Update.
2601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2603         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2604         sin, sinh, tan, tanh, tgamma, y0 and y1.
2605         * math/auto-libm-test-out: Regenerated.
2606         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2607         (TEST_COND_x86): Likewise.
2608         (M_E2l): Remove macro.
2609         (M_E3l): Likewise.
2610         (M_2_SQRT_PIl): Likewise.
2611         (M_SQRT_PIl): Likewise.
2612         (M_1_DIV_El): Likewise.
2613         (log_test_data): Use AUTO_TESTS_f_f.
2614         (log10_test_data): Likewise.
2615         (log1p_test_data): Likewise.
2616         (log2_test_data): Likewise.
2617         (sin_test_data): Likewise.
2618         (sin_tonearest_test_data): Likewise.
2619         (sin_towardzero_test_data): Likewise.
2620         (sin_downward_test_data): Likewise.
2621         (sin_upward_test_data): Likewise.
2622         (sinh_test_data): Likewise.
2623         (sinh_tonearest_test_data): Likewise.
2624         (sinh_towardzero_test_data): Likewise.
2625         (sinh_downward_test_data): Likewise.
2626         (sinh_upward_test_data): Likewise.
2627         (tan_test_data): Likewise.
2628         (tan_tonearest_test_data): Likewise.
2629         (tan_towardzero_test_data): Likewise.
2630         (tan_downward_test_data): Likewise.
2631         (tan_upward_test_data): Likewise.
2632         (tanh_test_data): Likewise.
2633         (tgamma_test_data): Likewise.
2634         (y0_test_data): Likewise.
2635         (y1_test_data): Likewise.
2636         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2637         (special_real_inputs): Add pi/4.
2638         * sysdeps/i386/fpu/libm-test-ulps: Update.
2639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2641 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2643         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2644         "longjmp_target" static probes.
2645         (__longjmp): Rename to __longjmp_symbol.
2646         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2647         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2648         on which longjmp to generate.
2649         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2650         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2651         probe.
2652         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2653         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2654         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2655         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2656         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2657         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2659         __longjmp_symbol based on which __longjmp to generate.
2660         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2661         probe.
2662         (setjmp): Rename to setjmp_symbol.
2663         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2664         (_setjmp): Rename to _setjmp_symbol.
2665         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2666         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2667         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2668         which setjmp to generate.
2669         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2670         "longjmp_target" static probes.
2672 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2674         * benchtests/README: Add note about output arguments.
2675         * benchtests/bench-sincos.c: Remove file.
2676         * benchtests/sincos-inputs: New file.
2677         * scripts/bench.pl: Identify output arguments and define
2678         static variables for them.
2680         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2682         [BZ #15941]
2683         * Makefile (INSTALL): Add install-plain.texi as the primary
2684         dependency.
2685         * manual/install-plain.texi: New file.
2686         * manual/install.texi: Include node directive only for
2687         non-plaintext output.
2689 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2691         * stdlib/longlong.h: Update from GCC.
2693         [BZ #6807]
2694         [BZ #15901]
2695         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2696         * math/w_j0f.c (y0f): Likewise.
2697         * math/w_j0l.c (__y0l): Likewise.
2698         * math/w_j1.c (y1): Likewise.
2699         * math/w_j1f.c (y1f): Likewise.
2700         * math/w_j1l.c (__y1l): Likewise
2701         * math/w_jn.c (yn): Likewise.
2702         * math/w_jnf.c (ynf): Likewise.
2703         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2704         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2705         value for Bessel function domain errors outside _SVID_ mode.
2706         Adjust sign of return value for yn (negative integer, 0).
2707         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2708         by zero in return for negative x and set sign appropriately for
2709         negative n.
2710         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2711         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2712         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2713         expectations in error cases.
2714         (y1_test_data): Likewise.
2715         (yn_test_data): Likewise.
2716         * sysdeps/i386/fpu/libm-test-ulps: Update.
2717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2719 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2721         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2722         "64" to "64-v1".  Add "64-v2".
2723         (abi-64-options): Rename to ...
2724         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2725         (abi-64-condition): Rename to ...
2726         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2727         (abi-64-ld-soname): Rename to ...
2728         (abi-64-v1-ld-soname): ... this.
2729         (abi-64-v2-options): Define.
2730         (abi-64-v2-condition): Likewise.
2731         (abi-64-v2-ld-soname): Likewise.
2732         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2733         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2738 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2739             Alan Modra  <amodra@gmail.com>
2741         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2742         New versions for use with the ELFv2 ABI.
2743         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2744         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2745         declaration.
2746         (struct La_ppc64v2_retval): Likewise.
2747         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2748         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2749         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2750         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2751         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2752         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2753         Do not save or restore CR.
2754         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2755         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2756         return values for ELFv2 ABI.  Fix location of FPR return registers.
2757         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2758         updated values for _CALL_ELF == 2.
2759         (La_regs, La_retval, int_retval): Likewise.
2761 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2763         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2764         (FRAME_MIN_SIZE_PARM): Likewise.
2765         (FRAME_BACKCHAIN): Likewise.
2766         (FRAME_CR_SAVE): Likewise.
2767         (FRAME_LR_SAVE): Likewise.
2768         (FRAME_TOC_SAVE): Likewise.
2769         (FRAME_PARM_SAVE): Likewise.
2770         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2771         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2772         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2773         (call_mcount_parm_offset): New macro.
2774         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2775         (PROF): Use symbolic stack frame offsets.
2776         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2777         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2778         Redefine in terms of FRAME_MIN_SIZE.
2779         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2780         (_dl_profile_resolve): Likewise.  Update comment.
2781         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2782         symbols stack frame offsets.
2783         (__sigsetjmp): Likewise.
2784         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2785         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2786         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2787         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2790         (FRAME_BACKCHAIN): Remove.
2791         (FRAME_CR_SAVE): Likewise.
2792         (FRAME_LR_SAVE): Likewise.
2793         (FRAME_COMPILER_DW): Likewise.
2794         (FRAME_LINKER_DW): Likewise.
2795         (FRAME_TOC_SAVE): Likewise.
2796         (FRAME_PARM_SAVE): Likewise.
2797         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2798         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2799         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2801         (CHECK_SP): Use symbolic stack frame offsets.
2802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2803         zone" instead of caller's parameter save area for temp storage.
2804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2805         Likewise.  Also, use symbolic stack frame offsets.
2806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2807         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2808         our own stack frame instead of the caller's.
2809         (__socket): Use symbolic stack frame offsets.
2811 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2812             Alan Modra  <amodra@gmail.com>
2814         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2815         Define.
2816         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2817         PPC64_LOCAL_ENTRY_OFFSET): Define.
2818         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2819         New function.
2820         (elf_machine_fixup_plt): Call it.
2821         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2822         reloc arguments.
2823         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2824         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2825         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2826         r2 before calling target.
2828 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2829             Alan Modra  <amodra@gmail.com>
2831         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2832         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2833         versions of macros to support ELFv2 ABI.
2834         (LOCALENTRY): New macro.
2835         (ENTRY, EALIGN): Use it.
2836         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2837         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2838         fall through into ENTRY entry point.
2839         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2840         Only define if _CALL_ELF != 2.
2842         (elf_machine_matches_host): Verify ABI version matches.
2843         (RTLD_START): Use LOCALENTRY.
2844         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2845         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2846         (PLT_ENTRY_WORDS): New macro.
2847         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2848         (elf_machine_runtime_setup): Support ELFv2 ABI.
2849         (elf_machine_fixup_plt): Likewise.
2850         (elf_machine_plt_conflict): Likewise.
2851         (resolve_ifunc): Likewise.
2852         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2853         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2854         Likewise.
2855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2856         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2858         (makecontext): Support ELFv2 ABI.
2859         * elf/elf.h (EF_PPC64_ABI): Define.
2861 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2863         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2864         New assembler macro.
2865         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2866         [ASSEMBLER] (ENTRY): ... but instead here ...
2867         [ASSEMBLER] (EALIGN): ... and here.
2868         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2869         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2870         [!ASSEMBLER] (ENTRY_2): Use it.
2871         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2872         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2873         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2874         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2875         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2877         Use PPC64_LOAD_FUNCPTR.
2879 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2881         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2883 2013-12-04  Alan Modra  <amodra@gmail.com>
2885         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2886         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2887         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2888         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2890         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2891         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2892         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2893         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2894         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2895         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2897 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2900         (__makecontext): Fix incorrect CFI when backtracing out of
2901         context created via makecontext.
2902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2903         (__setcontext): Fix incorrect CFI during switch to new context.
2904         (__novec_setcontext): Likewise.
2906 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2908         [BZ #4772]
2909         * time/strptime_l.c (__strptime_internal): Allow modifiers
2910         in strptime.
2911         * time/tst-strptime.c (day_tests): Add testcase.
2914 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2916         * scripts/bench.pl: Skip over blank lines.
2918 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2920         [BZ #926]
2921         * manual/time.texi (Calendar Time): Clarify what timezone functions
2922         use.
2924 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2928 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2930         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2931         implementation.
2932         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2933         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2934         * debug/memset_chk.c (__memset_chk): Likewise.
2935         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2936         * debug/strncpy_chk.c: Likewise.
2938 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2940         [BZ #15268]
2941         [BZ #15425]
2942         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2943         (__ieee754_exp): For possibly underflowing results, check size of
2944         result and force underflow exception if required.
2945         * math/auto-libm-test-in: Add more tests of exp.
2946         * math/auto-libm-test-out: Regenerated.
2947         * sysdeps/i386/fpu/libm-test-ulps: Update.
2948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2950         [BZ #16283]
2951         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2952         * math/w_exp2f.c (__exp2f): Likewise.
2953         * math/w_exp2l.c (__exp2l): Likewise.
2954         * math/auto-libm-test-in: Do not allow missing errno on exp2
2955         underflow.
2956         * math/auto-libm-test-out: Regenerated.
2958 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2960         [BZ #16274]
2961         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2962         handle filename validation.
2963         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2964         (do_open): Delete.
2966 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2968         [BZ #6786]
2969         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2970         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2971         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2972         <float.h>.
2973         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2974         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2975         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2976         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2977         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2978         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2979         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2980         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2981         Add more erfc tests.
2982         * math/auto-libm-test-out: Regenerated.
2983         * sysdeps/i386/fpu/libm-test-ulps: Update.
2984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2986         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2987         exp2, expm1, j0 and j1.
2988         * math/auto-libm-test-out: Regenerated.
2989         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2990         (erfc_test_data): Likewise.
2991         (exp_test_data): Likewise.
2992         (exp_tonearest_test_data): Likewise.
2993         (exp_towardzero_test_data): Likewise.
2994         (exp_downward_test_data): Likewise.
2995         (exp_upward_test_data): Likewise.
2996         (exp10_test_data): Likewise.
2997         (exp2_test_data): Likewise.
2998         (expm1_test_data): Likewise.
2999         (j0_test_data): Likewise.
3000         (j1_test_data): Likewise.
3001         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3002         (input_flag_type): Add flag_xfail_rounding.
3003         (input_flags): Add xfail-rounding.
3004         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3005         (output_for_one_input_case): Handle flag_xfail_rounding.
3006         * sysdeps/i386/fpu/libm-test-ulps: Update.
3007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3009 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3011         [BZ #16289]
3012         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3013         division by 0.
3015 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3017         [BZ #16195]
3018         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3019         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3020         (STAP_PROBE0): New macro.
3021         (STAP_PROBE1): Likewise.
3022         (STAP_PROBE2): Likewise.
3023         (STAP_PROBE3): Likewise.
3024         (STAP_PROBE4): Likewise.
3026 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3028         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3030 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3032         * benchtests/Makefile (bench): Add sqrt.
3033         (LDLIBS-bench-sqrt): New.
3034         * benchtests/sqrt-input: New.
3036 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3038         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3039         (GAIH_EAI): Likewise.
3040         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3041         (gaih_inet): Likewise.
3042         (getaddrinfo): Don't use GAIH_EAI.
3044         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3045         (struct gaih): Remove definition.
3047 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3049         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3050         Use HERRNOP directly.
3052 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3056 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3058         * math/gen-auto-libm-tests.c (test_functions): Add more
3059         single-argument functions.
3060         (special_fill_pi_2): New function.
3061         (special_fill_minus_pi_2): Likewise.
3062         (special_fill_pi_6): Likewise.
3063         (special_fill_minus_pi_6): Likewise.
3064         (special_fill_pi_3): Likewise.
3065         (special_fill_2pi_3): Likewise.
3066         (special_fill_e): Likewise.
3067         (special_fill_1_e): Likewise.
3068         (special_fill_e_minus_1): Likewise.
3069         (special_real_inputs): Add more special inputs.
3070         (output_for_one_input_case): Do not require ERANGE on underflow to
3071         zero if round-to-nearest result does not underflow to zero, unless
3072         exact results required.
3073         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3074         atan, atanh, cbrt, cos and cosh.
3075         * math/auto-libm-test-out: Regenerated.
3076         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3077         (acos_tonearest_test_data): Likewise.
3078         (acos_towardzero_test_data): Likewise.
3079         (acos_downward_test_data): Likewise.
3080         (acos_upward_test_data): Likewise.
3081         (acosh_test_data): Likewise.
3082         (asin_test_data): Likewise.
3083         (asin_tonearest_test_data): Likewise.
3084         (asin_towardzero_test_data): Likewise.
3085         (asin_upward_test_data): Likewise.
3086         (asinh_test_data): Likewise.
3087         (atan_test_data): Likewise.
3088         (atanh_test_data): Likewise.
3089         (cbrt_test_data): Likewise.
3090         (cos_test_data): Likewise.
3091         (cos_tonearest_test_data): Likewise.
3092         (cos_towardzero_test_data): Likewise.
3093         (cos_downward_test_data): Likewise.
3094         (cos_upward_test_data): Likewise.
3095         (cosh_test_data): Likewise.
3096         (cosh_tonearest_test_data): Likewise.
3097         (cosh_towardzero_test_data): Likewise.
3098         (cosh_downward_test_data): Likewise.
3099         (cosh_upward_test_data): Likewise.
3100         * sysdeps/i386/fpu/libm-test-ulps: Update.
3101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3103 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3105         [BZ #6787]
3106         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3107         * math/w_exp10f.c (__exp10f): Likewise.
3108         * math/w_exp10l.c (__exp10l): Likewise.
3109         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3110         errno settings in existing tests.
3112         [BZ #14032]
3113         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3114         precision control set to double precision.
3115         * sysdeps/i386/fpu/w_sqrt.c: New file.
3116         * math/auto-libm-test-in: Add more tests.
3117         * math/auto-libm-test-out: Update.
3119         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3120         (sqrt_test_tonearest): New function.
3121         (sqrt_towardzero_test_data): New variable.
3122         (sqrt_test_towardzero): New function.
3123         (sqrt_downward_test_data): New variable.
3124         (sqrt_test_downward): New function.
3125         (sqrt_upward_test_data): New variable.
3126         (sqrt_test_upward): New function.
3127         (main): Call the new functions.
3129         * math/gen-auto-libm-tests.c: New file.
3130         * math/auto-libm-test-in: Likewise.
3131         * math/auto-libm-test-out: New generated file.
3132         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3133         variables.
3134         (%beautify): Add generated representations of zero.
3135         (top level): Set $auto_input and call parse_auto_input.
3136         (beautify): Remove trailing "f" from hex float constants.
3137         (parse_args): Handle XFAIL_TEST.
3138         (convert_condition): New function.
3139         (or_value): Likewise.
3140         (or_cond_value): Likewise.
3141         (generate_testfile): Handle AUTO_TESTS_* lines.
3142         (parse_auto_input): New function.
3143         * math/libm-test.inc (XFAIL_TEST): New macro.
3144         (ERRNO_UNCHANGED): Update value.
3145         (ERRNO_EDOM): Likewise.
3146         (ERRNO_ERANGE): Likewise.
3147         (IGNORE_RESULT): Likewise.
3148         (TEST_COND_flt_32): New macro.
3149         (TEST_COND_dbl_64): Likewise.
3150         (TEST_COND_ldbl_96_intel): Likewise.
3151         (TEST_COND_ldbl_96_m68k): Likewise.
3152         (TEST_COND_ldbl_128): Likewise.
3153         (TEST_COND_ldbl_128ibm): Likewise.
3154         (TEST_COND_long32): Likewise.
3155         (TEST_COND_long64): Likewise.
3156         (TEST_COND_before_rounding): Likewise.
3157         (TEST_COND_after_rounding): Likewise.
3158         (enable_test): Handle XFAIL_TEST flag.
3159         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3160         with finite results.
3161         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3162         auto-libm-test-out.
3164 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3165             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3167         [BZ #16214]
3168         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3169         __tls_get_addr_internal instead of __tls_get_offset in order to
3170         avoid GOT pointer dependency.  Make rtld export
3171         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3172         __tls_get_addr since we are a __tls_get_offset platform.
3173         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3174         GOT pointer being set up before.
3175         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3177 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3179         * manual/math.texi (Errors in Math Functions): Document accuracy
3180         goals.
3182         [BZ #15004]
3183         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3184         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3185         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3186         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3187         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3188         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3189         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3190         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3191         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3192         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3193         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3194         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3195         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3196         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3197         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3198         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3200         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3201         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3202         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3203         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3204         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3205         Likewise.
3206         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3207         Likewise.
3208         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3209         Likewise.
3210         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3211         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3212         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3213         atomic-feupdateenv and flt-rounds.
3214         * sysdeps/powerpc/nofpu/Versions (libc): Add
3215         __atomic_feholdexcept, __atomic_feclearexcept,
3216         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3217         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3218         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3219         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3220         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3221         here.
3222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3223         Update.
3225         * manual/arith.texi (FP Exceptions): Document that exceptions may
3226         not be raised when matherr is used.
3227         (Math Error Reporting): Document overflow in directed rounding
3228         modes.  Document that errno may not be set when finite values are
3229         returned on overflow.  Document intent to set errno on underflow
3230         only for underflow to zero.
3232         [BZ #16271]
3233         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3234         round-to-nearest then adjust result for other rounding modes.
3235         * include/fenv.h (fegetround): Use libm_hidden_proto.
3236         * math/fegetround.c (fegetround): Use libm_hidden_def.
3237         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3238         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3239         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3240         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3241         Likewise.
3242         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3243         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3244         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3245         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3247 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3249         [BZ #16077]
3250         * nss/Versions (libnss_files): Add
3251         _nss_files_gethostbyname3_r.
3252         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3253         New function.
3254         (HOST_DB_LOOKUP): Remove macro.
3255         (_nss_files_gethostbyname_r): Implement function without the
3256         HOST_DB_LOOKUP macro.
3257         (_nss_files_gethostbyname2_r): Likewise.
3259 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3261         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3263 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3265         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3266         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3267         warning.
3269 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3271         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3272         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3273         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3274         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3275         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3276         __fe_nomask_env_priv and attribute_hidden.
3277         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3278         (libc_feupdateenv_test_ppc): Likewise.
3279         (libc_feresetround_ppc): Likewise.
3280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3281         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3282         compat_symbol macro.
3283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3284         (__fe_nomask_env): Likewise.
3285         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3287 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3289         * string/Makefile: Remove ifunc tests.
3290         * string/test-string.h: Define TEST_IFUNC.
3291         * string/test-bcopy-ifunc.c: Remove.
3292         * string/test-bzero-ifunc.c: Likewise.
3293         * string/test-memccpy-ifunc.c: Likewise.
3294         * string/test-memchr-ifunc.c: Likewise.
3295         * string/test-memcmp-ifunc.c: Likewise.
3296         * string/test-memcpy-ifunc.c: Likewise.
3297         * string/test-memmem-ifunc.c: Likewise.
3298         * string/test-memmove-ifunc.c: Likewise.
3299         * string/test-mempcpy-ifunc.c: Likewise.
3300         * string/test-memrchr-ifunc.c: Likewise.
3301         * string/test-memset-ifunc.c: Likewise.
3302         * string/test-rawmemchr-ifunc.c: Likewise.
3303         * string/test-stpcpy-ifunc.c: Likewise.
3304         * string/test-stpncpy-ifunc.c: Likewise.
3305         * string/test-strcasecmp-ifunc.c: Likewise.
3306         * string/test-strcasestr-ifunc.c: Likewise.
3307         * string/test-strcat-ifunc.c: Likewise.
3308         * string/test-strchr-ifunc.c: Likewise.
3309         * string/test-strchrnul-ifunc.c: Likewise.
3310         * string/test-strcmp-ifunc.c: Likewise.
3311         * string/test-strcpy-ifunc.c: Likewise.
3312         * string/test-strcspn-ifunc.c: Likewise.
3313         * string/test-strlen-ifunc.c: Likewise.
3314         * string/test-strncasecmp-ifunc.c: Likewise.
3315         * string/test-strncat-ifunc.c: Likewise.
3316         * string/test-strncmp-ifunc.c: Likewise.
3317         * string/test-strncpy-ifunc.c: Likewise.
3318         * string/test-strnlen-ifunc.c: Likewise.
3319         * string/test-strpbrk-ifunc.c: Likewise.
3320         * string/test-strrchr-ifunc.c: Likewise.
3321         * string/test-strspn-ifunc.c: Likewise.
3322         * string/test-strstr-ifunc.c: Likewise.
3324 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3326         * benchtests/Makefile: Remove ifunc tests.
3327         * benchtests/bench-string.h: Define TEST_IFUNC.
3328         * benchtests/bench-bcopy-ifunc.c: Remove.
3329         * benchtests/bench-bzero-ifunc.c: Likewise.
3330         * benchtests/bench-memccpy-ifunc.c: Likewise.
3331         * benchtests/bench-memchr-ifunc.c: Likewise.
3332         * benchtests/bench-memcmp-ifunc.c: Likewise.
3333         * benchtests/bench-memcpy-ifunc.c: Likewise.
3334         * benchtests/bench-memmem-ifunc.c: Likewise.
3335         * benchtests/bench-memmove-ifunc.c: Likewise.
3336         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3337         * benchtests/bench-memrchr-ifunc.c: Likewise.
3338         * benchtests/bench-memset-ifunc.c: Likewise.
3339         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3340         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3341         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3342         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3343         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3344         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3345         * benchtests/bench-strcat-ifunc.c: Likewise.
3346         * benchtests/bench-strchr-ifunc.c: Likewise.
3347         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3348         * benchtests/bench-strcmp-ifunc.c: Likewise.
3349         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3350         * benchtests/bench-strcpy-ifunc.c: Likewise.
3351         * benchtests/bench-strcspn-ifunc.c: Likewise.
3352         * benchtests/bench-strlen-ifunc.c: Likewise.
3353         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3354         * benchtests/bench-strncat-ifunc.c: Likewise.
3355         * benchtests/bench-strncmp-ifunc.c: Likewise.
3356         * benchtests/bench-strncpy-ifunc.c: Likewise.
3357         * benchtests/bench-strnlen-ifunc.c: Likewise.
3358         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3359         * benchtests/bench-strrchr-ifunc.c: Likewise.
3360         * benchtests/bench-strsep-ifunc.c: Likewise.
3361         * benchtests/bench-strspn-ifunc.c: Likewise.
3362         * benchtests/bench-strstr-ifunc.c: Likewise.
3364 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3366         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3368 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3370         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3371         * rt/aio.h: Likewise.
3372         * sysdeps/gnu/bits/utmp.h: Likewise.
3373         * sysdeps/gnu/bits/utmpx.h: Likewise.
3374         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3375         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3376         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3377         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3378         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3379         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3380         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3381         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3382         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3383         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3384         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3385         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3386         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3388         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3389         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3390         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3391         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3392         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3393         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3394         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3395         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3396         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3397         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3398         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3399         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3400         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3401         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3402         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3403         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3404         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3405         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3406         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3407         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3408         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3409         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3410         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3411         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3412         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3413         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3414         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3415         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3417 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3419         [BZ #16245]
3420         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3421         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3423 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3425         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3426         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3427         Likewise.
3429 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3431         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3432         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3433         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3434         (__fesetround): Remove define.
3435         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3436         rounding and exceptions handling.
3437         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3438         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3439         (__fe_nomask_env): Likewise.
3440         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3441         __fegetround instead of fegetround.
3442         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3443         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3445 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3447         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3448         it's there.
3450         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3452 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3454         [BZ #11157]
3455         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3456         (encrypt_r): Likewise.
3457         * malloc/obstack.h (obstack_free): Likewise.
3458         * posix/unistd.h (encrypt): Likewise.
3460 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3462         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3463         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3464         DL_CALL_DT_FINI() that call the functions directly.
3465         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3466         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3467         * elf/dl-fini.c: Likewise.
3469 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3471         * malloc/hooks.c (memalign_check): Add alignment rounding.
3472         * malloc/malloc.c (_mid_memalign): New function.
3473         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3474         Implement by calling _mid_memalign.
3475         * manual/probes.texi (Memory Allocation Probes): Remove
3476         memory_valloc_retry and memory_pvalloc_retry.
3478 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3480         * locale/programs/locarchive.c (open_archive): Add const
3481         qualifier to ARCHIVEFNAME and copy default fname to
3482         DEFAULT_FNAME.
3484         [BZ #15601]
3485         * libio/tst-widetext.input: Rename Oriya to Odia.
3486         * locale/iso-639.def: Likewise.
3488         * manual/probes.texi (Mathematical Function Probes): Add
3489         documentation for sin, cos, asin and acos probes.
3490         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3491         (__sin32): Add slowasin probe.
3492         (__cos32): Add slowacos probe.
3493         (__mpsin): Add slowsin probe.
3494         (__mpcos): Add slowcos probe.
3496 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3498         [BZ #15483]
3499         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3500         thread-local __sim_exceptions_thread and global
3501         __sim_exceptions_global.
3502         (__sim_disabled_exceptions): Change to thread-local
3503         __sim_disabled_exceptions_thread and global
3504         __sim_disabled_exceptions_global.
3505         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3506         and global __sim_round_mode_global.
3507         (__simulate_exceptions): Use thread-local floating-point state and
3508         set global state from it as needed.
3509         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3510         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3511         __sim_round_mode_thread.
3512         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3513         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3514         and global __sim_exceptions_global.
3515         (__sim_disabled_exceptions): Change to thread-local
3516         __sim_disabled_exceptions_thread and global
3517         __sim_disabled_exceptions_global.
3518         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3519         and global __sim_round_mode_global.
3520         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3521         (SIM_SET_GLOBAL): Likewise.
3522         * sysdeps/powerpc/soft-fp/sfp-machine.h
3523         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3524         __sim_round_mode_thread.
3525         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3526         __sim_disabled_exceptions_thread.
3527         (__sim_exceptions): Change to __sim_exceptions_thread.
3528         (__sim_disabled_exceptions): Change to
3529         __sim_disabled_exceptions_thread.
3530         (__sim_round_mode): Change to __sim_round_mode_thread.
3531         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3532         thread-local floating-point state and set global state from it as
3533         needed.
3534         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3535         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3536         (__sim_disabled_exceptions): Remove extern declaration.
3537         (feenableexcept): Use thread-local floating-point state and set
3538         global state from it as needed.
3539         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3540         extern declaration.
3541         (__sim_disabled_exceptions): Likewise.
3542         (__sim_round_mode): Likewise.
3543         (__fegetenv): Use thread-local floating-point state.
3544         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3545         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3546         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3547         floating-point state and set global state from it as needed.
3548         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3549         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3550         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3551         Likewise.
3552         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3553         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3554         Likewise.
3555         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3556         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3557         Use __sim_round_mode_thread.
3558         * math/test-fenv-tls.c: New file.
3559         * math/Makefile (tests): Add test-fenv-tls.
3560         ($(objpfx)test-fenv-tls): Depend on
3561         $(common-objpfx)nptl/libpthread.so.
3563 2013-11-19  Andreas Schwab  <schwab@suse.de>
3565         * locale/programs/locale.c (show_info): Decode wordarray elements.
3566         * locale/categories.def (LC_MONETARY): Add element for
3567         _NL_MONETARY_CRNCYSTR.
3568         * locale/C-monetary.c (conversion_rate): New variable.
3569         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3570         element.
3572 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3574         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3575         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3577 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3579         * elf/Makefile (tst-auxv): New test.
3580         * elf/tst-auxv.c: New
3581         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3583 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3585         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3586         (hidden_proto): Caller changed.
3587         (hidden_tls_proto): New macro.
3588         (libc_hidden_tls_proto): Likewise.
3589         (rtld_hidden_tls_proto): Likewise.
3590         (libm_hidden_tls_proto): Likewise.
3591         (libresolv_hidden_tls_proto): Likewise.
3592         (librt_hidden_tls_proto): Likewise.
3593         (libdl_hidden_tls_proto): Likewise.
3594         (libnss_files_hidden_tls_proto): Likewise.
3595         (libnsl_hidden_tls_proto): Likewise.
3596         (libnss_nisplus_hidden_tls_proto): Likewise.
3597         (libutil_hidden_tls_proto): Likewise.
3599 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3601         [BZ #10253]
3602         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3603         (decompose_rpath): Defer expansion to fillin_rpath.
3604         (_dl_init_paths): Pass linkmap to fillin_rpath.
3606 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3608         * benchtests/Makefile: Add strsep.
3609         * benchtests/bench-strsep.c: New file: strsep benchtest.
3610         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3612 2013-11-18  Andreas Schwab  <schwab@suse.de>
3614         * locale/programs/locale.c (show_info) [case byte]: Check for
3615         '\377' instead of '\177'.
3616         * locale/C-monetary.c (not_available): Always use "\377".
3617         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3618         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3619         detect unavailable sign_posn locale elements.
3620         * locale/localeconv.c (__localeconv): For grouping and
3621         mon_grouping handle "\177" and "\377" like no grouping.
3622         (INT_ELEM): New macro.  Use it to set all numeric members.
3623         * locale/programs/ld-monetary.c (monetary_read)
3624         <tok_mon_grouping>: Normalize single -1 to the empty string.
3625         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3626         Likewise.
3628 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3630         [BZ #16055]
3631         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3632         when we match (nil).
3633         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3635 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3637         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3638         (NO_TEST_INLINE): Update value.
3639         (ERRNO_UNCHANGED): Likewise.
3640         (ERRNO_EDOM): Likewise.
3641         (ERRNO_ERANGE): Likewise.
3642         (IGNORE_RESULT): Likewise.
3643         (check_float_internal): Check signs of NaN results if
3644         TEST_NAN_SIGN used.
3645         (check_complex): Pass TEST_NAN_SIGN flag through to second
3646         check_float_internal call.
3647         (copysign_test_data): Add tests with quiet NaNs as second
3648         argument.  Use TEST_NAN_SIGN.
3649         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3650         TEST_NAN_SIGN.
3651         (signbit_test_data): Add tests of quiet NaN argument.
3652         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3654         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3655         $ignore_result.
3656         (parse_args): Handle function results specified as IGNORE.
3657         * math/libm-test.inc (IGNORE_RESULT): New macro.
3658         (check_float_internal): Do not check numerical result if flag
3659         IGNORE_RESULT set.
3660         (check_complex): Pass through IGNORE_RESULT to second
3661         check_float_internal call.
3662         (check_int): Do not check numerical result if flag IGNORE_RESULT
3663         set.
3664         (check_long): Likewise.
3665         (check_bool): Likewise.
3666         (check_longlong): Likewise.
3667         (lrint_test_data): Add tests of infinite and NaN arguments.
3668         (lrint_tonearest_test_data): Likewise.
3669         (lrint_towardzero_test_data): Likewise.
3670         (lrint_downward_test_data): Likewise.
3671         (lrint_upward_test_data): Likewise.
3672         (llrint_test_data): Likewise.
3673         (llrint_tonearest_test_data): Likewise.
3674         (llrint_towardzero_test_data): Likewise.
3675         (llrint_downward_test_data): Likewise.
3676         (llrint_upward_test_data): Likewise.
3677         (lround_test_data): Likewise.
3678         (llround_test_data): Likewise.
3680         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3681         (ERRNO_UNCHANGED): Update value.
3682         (ERRNO_EDOM): Likewise.
3683         (ERRNO_ERANGE): Likewise.
3684         (NO_TEST_INLINE_FLOAT): New macro.
3685         (NO_TEST_INLINE_DOUBLE): Likewise.
3686         (enable_test): New function.
3687         (RUN_TEST_f_f): Check enable_test before running test.
3688         (RUN_TEST_2_f): Likewise.
3689         (RUN_TEST_fff_f): Likewise.
3690         (RUN_TEST_c_f): Likewise.
3691         (RUN_TEST_f_f1): Likewise.
3692         (RUN_TEST_fF_f1): Likewise.
3693         (RUN_TEST_fI_f1): Likewise.
3694         (RUN_TEST_ffI_f1): Likewise.
3695         (RUN_TEST_c_c): Likewise.
3696         (RUN_TEST_cc_c): Likewise.
3697         (RUN_TEST_f_i): Likewise.
3698         (RUN_TEST_f_i_tg): Likewise.
3699         (RUN_TEST_ff_i_tg): Likewise.
3700         (RUN_TEST_f_b): Likewise.
3701         (RUN_TEST_f_b_tg): Likewise.
3702         (RUN_TEST_f_l): Likewise.
3703         (RUN_TEST_f_L): Likewise.
3704         (RUN_TEST_fFF_11): Likewise.
3705         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3706         conditionals.
3707         (cosh_test_data): Likewise.
3708         (exp_test_data): Likewise.
3709         (expm1_test_data): Likewise.
3710         (hypot_test_data): Likewise.
3711         (pow_test_data): Likewise.
3712         (sinh_test_data): Likewise.
3713         (tanh_test_data): Likewise.
3714         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3715         flags argument.
3717         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3718         tests with quiet NaN input and output.
3719         (acosh_test_data): Likewise.
3720         (asin_test_data): Likewise.
3721         (asinh_test_data): Likewise.
3722         (atan_test_data): Likewise.
3723         (atanh_test_data): Likewise.
3724         (atan2_test_data): Likewise.
3725         (cbrt_test_data): Likewise.
3726         (cos_test_data): Likewise.
3727         (cosh_test_data): Likewise.
3728         (erf_test_data): Likewise.
3729         (erfc_test_data): Likewise.
3730         (exp_test_data): Likewise.
3731         (exp10_test_data): Likewise.
3732         (exp2_test_data): Likewise.
3733         (expm1_test_data): Likewise.
3734         (hypot_test_data): Likewise.
3735         (j0_test_data): Likewise.
3736         (j1_test_data): Likewise.
3737         (jn_test_data): Likewise.
3738         (lgamma_test_data): Likewise.
3739         (log_test_data): Likewise.
3740         (log10_test_data): Likewise.
3741         (log1p_test_data): Likewise.
3742         (log2_test_data): Likewise.
3743         (pow_test_data): Likewise.
3744         (scalb_test_data): Likewise.
3745         (sin_test_data): Likewise.
3746         (sincos_test_data): Likewise.
3747         (sinh_test_data): Likewise.
3748         (tan_test_data): Likewise.
3749         (tanh_test_data): Likewise.
3750         (tgamma_test_data): Likewise.
3751         (y0_test_data): Likewise.
3752         (y1_test_data): Likewise.
3753         (yn_test_data): Likewise.
3755         [BZ #16167]
3756         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3757         argument being NaN and avoid computations with second argument in
3758         that case.
3759         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3760         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3761         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3763 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3765         * locale/iso-639.def: Add Chitwani Tharu (the).
3767 2013-11-14  Andreas Schwab  <schwab@suse.de>
3769         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3770         word instead of empty string.
3772 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3775         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3777         (__fe_nomask_env): Likewise.
3779 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3781         * benchtests/bench-timing.h: Include time.h.
3783 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3785         [BZ #15997]
3786         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3787         to 3.4.0 for x32.
3788         * sysdeps/unix/sysv/linux/configure: Regenerated.
3790 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3792         [BZ #16151]
3793         * stdlib/strtod_l.c (round_and_return): Do not consider
3794         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3795         exponent one less than half the least subnormal exponent.
3796         * stdlib/test-strtod-round-data: Add more tests.
3797         * stdlib/tst-strtod-round.c (tests): Regenerated.
3799 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3801         [BZ #14143]
3802         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3803         (__fe_mask_env): Likewise.
3804         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3805         libm_hidden_proto and add function prototype.
3806         (__fe_mask_env): Add function prototype.
3807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3808         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3810         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3812         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3814 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3816         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3817         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3819 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3821         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3822         of htab_find_slot().
3824 2013-11-11  David S. Miller  <davem@davemloft.net>
3826         [BZ #16150]
3827         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3828         symbol in the non-vis3 case in static builds.
3829         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3830         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3831         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3832         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3834 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3836         [BZ #387]
3837         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3838         it is empty.
3840 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3842         * benchtests/Makefile: Add bench-strtod.
3843         * benchtests/bench-strtod.c: New file: strtod benchtest
3845 2013-11-11  Andreas Schwab  <schwab@suse.de>
3847         [BZ #16153]
3848         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3849         terminating NUL in key length.
3851 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3853         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3854         Add artificial ODP entry for vDSO symbol for PPC64.
3855         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3856         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3858 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3860         [BZ #15374]
3861         * nss/getent.c (services_keys): Recognize services starting with digit.
3863 2013-11-06  David S. Miller  <davem@davemloft.net>
3865         [BZ #15985]
3866         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3867         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3869 2013-11-06  Will Newton  <will.newton@linaro.org>
3871         * manual/memory.texi (Malloc Examples): Remove register
3872         keyword from examples.
3874 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3876         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3878 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3880         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3881         depending on [__GCC_IEC_559 > 0].
3882         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3883         depending on [__GCC_IEC_559_COMPLEX > 0].
3885 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3887         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3888         to iso-639.def.
3890 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3892         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3894 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3896         [BZ #16112]
3897         * malloc/malloc (malloc_info): Do not handle first bin as
3898         special case.
3900 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3902         * locale/iso-639.def: Add Central Nahuatl (nhn).
3904 2013-11-01  Bruno Haible  <bruno@clisp.org>
3906         [BZ #7003]
3907         * manual/math.texi (BSD Random): Specify range upper bound as
3908         in POSIX.
3910 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3912         * locale/iso-639.def: Add Meadow Mari (mhr).
3914 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3916         [BZ #14752], [BZ #15763]
3917         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3918         Validate name.
3919         * rt/tst_shm.c: Add test for escaping directory.
3921 2013-10-31  Andreas Schwab  <schwab@suse.de>
3923         [BZ #15917]
3924         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3925         followed by 'x' as part of digit sequence.
3926         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3928 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3930         [BZ #16037]
3931         * configure.ac: allow GNU Make 4.0 and greater.
3932         * configure: Regenerated.
3934 2013-10-30  Will Newton  <will.newton@linaro.org>
3936         [BZ #16038]
3937         * malloc/hooks.c (memalign_check): Limit alignment to the
3938         maximum representable power of two.
3939         * malloc/malloc.c (__libc_memalign): Likewise.
3940         * malloc/tst-memalign.c (do_test): Add test for very
3941         large alignment values.
3942         * malloc/tst-posix_memalign.c (do_test): Likewise.
3944 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3946         [BZ #11087]
3947         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3948         (munmap_chunk): Likewise.
3949         (mremap_chunk): Likewise.
3951 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3953         [BZ #15799]
3954         * stdlib/div.c (div): Remove obsolete code.
3955         * stdlib/ldiv.c (ldiv): Likewise.
3956         * stdlib/lldiv.c (lldiv): Likewise.
3958 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3960         [BZ #16071]
3961         * nss/nss_files/files-XXX.c (get_contents_ret): New
3962         enumerator.
3963         (get_contents): New function.
3964         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3966 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3968         * configure.in: Moved to ...
3969         * configure.ac: ... here. Change reference to configure.in
3970         to configure.ac.
3971         * sysdeps/arm/preconfigure.ac: ... here.
3972         configure.in to configure.ac.
3973         * sysdeps/gnu/configure.in: Moved to ...
3974         * sysdeps/gnu/configure.ac: ... here.
3975         * sysdeps/i386/configure.in: Moved to ...
3976         * sysdeps/i386/configure.ac: ... here.
3977         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3978         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3979         * sysdeps/mach/configure.in: Moved to ...
3980         * sysdeps/mach/configure.ac: ... here.
3981         * sysdeps/mach/hurd/configure.in: Moved to ...
3982         * sysdeps/mach/hurd/configure.ac: ... here.
3983         * sysdeps/powerpc/configure.in: Moved to ...
3984         * sysdeps/powerpc/configure.ac: ... here.
3985         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3986         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3987         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3988         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3989         * sysdeps/s390/s390-32/configure.in: Moved to ...
3990         * sysdeps/s390/s390-32/configure.ac: ... here.
3991         * sysdeps/s390/s390-64/configure.in: Moved to ...
3992         * sysdeps/s390/s390-64/configure.ac: ... here.
3993         * sysdeps/sh/configure.in: Moved to ...
3994         * sysdeps/sh/configure.ac: ... here.
3995         * sysdeps/sparc/configure.in: Moved to ...
3996         * sysdeps/sparc/configure.ac: ... here.
3997         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3998         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3999         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4000         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4001         * sysdeps/x86_64/configure.in: Moved to ...
4002         * sysdeps/x86_64/configure.ac: ... here.
4003         * sysdeps/x86_64/preconfigure.in: Moved to ...
4004         * sysdeps/x86_64/preconfigure.ac: ... here.
4005         * aclocal.m4: Change reference to configure.in to configure.ac.
4006         * config.h.in: Likewise.
4007         * manual/install.texi: Likewise.
4008         * manual/maint.texi: Likewise.
4009         * Makefile: Likewise.
4010         * malloc/Makefile: Likewise.
4011         * nscd/Makefile: Likewise.
4012         * Makeconfig: Change reference to configure.in and
4013         preconfigure.in to configure.ac and preconfigure.ac
4014         respectively.
4015         * INSTALL: Regenerated.
4016         * configure: Likewise.
4017         * sysdeps/gnu/configure: Likewise.
4018         * sysdeps/i386/configure: Likewise.
4019         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4020         * sysdeps/mach/configure: Likewise.
4021         * sysdeps/mach/hurd/configure: Likewise.
4022         * sysdeps/powerpc/configure: Likewise.
4023         * sysdeps/powerpc/powerpc32/configure: Likewise.
4024         * sysdeps/powerpc/powerpc64/configure: Likewise.
4025         * sysdeps/s390/s390-32/configure: Likewise.
4026         * sysdeps/s390/s390-64/configure: Likewise.
4027         * sysdeps/sh/configure: Likewise.
4028         * sysdeps/sparc/configure: Likewise.
4029         * sysdeps/unix/sysv/linux/configure: Likewise.
4030         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4031         * sysdeps/x86_64/configure: Likewise.
4032         * sysdeps/x86_64/preconfigure: Likewise.
4034 2013-10-29  Andreas Schwab  <schwab@suse.de>
4036         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4038 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4040         * benchtests/pow-inputs: Add new inputs.
4042         * benchtests/exp-inputs: Add new inputs.
4044         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4045         conditional check for return value.
4046         (__cos32): Likewise.
4048 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4050         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4051         to provide a boost for large inputs with word alignment.
4052         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4053         implementation based on optimized PPC64 strcpy.
4054         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4055         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4056         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4057         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4059 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4061         [BZ #2801]
4062         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4064 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4066         [BZ #14876]
4067         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4068         * time/tst-strptime.c (day_tests): Add testcase.
4070 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4072         [BZ #14029]
4073         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4075 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4077         [BZ #16074]
4078         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4079         MAP_FAILED on error.
4081 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4083         [BZ #16072]
4084         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4085         heap for large requests.
4087 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4089         [BZ #9954]
4090         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4091         result if the result has no associated interface.
4092         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4093         interface for all 127.X.Y.Z addresses.
4095 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4097         * locale/iso-639.def: Add Ligurian (lij)
4099 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4101         [BZ #15825]
4102         * sunrpc/rpc_main.c: Document rpcgen -5.
4104 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4106         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4108 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4110         [BZ #10278]
4111         * posix/glob.c: Match only directories when trailing slash is present.
4112         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4113         (main): Add testcase.
4115 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4117         [BZ #15670]
4118         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4120 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4122         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4123         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4124         AUTH_DES and cindex for FIPS 140-2.
4125         (DES Encryption): Add cindex FIPS 46-3.
4127         * locale/locarchive.h (struct locarhandle): Add fname.
4128         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4129         if an optional argument was specified to --list-archive,
4130         otherwise NULL.
4131         * locale/programs/locarchive.c (show_archive_content): Take new
4132         argument fname and pass it via ah.fname to open_archive.
4133         * locale/programs/localedef.h: Update decl.
4134         (open_archive): If AH->fname is non-null, open that file
4135         rather than the default file name, and don't ignore ENOENT.
4136         (create_archive): Set AH.fname to NULL.
4137         (delete_locales_from_archive): Likewise.
4138         (add_locales_to_archive): Likewise.
4139         * locale/programs/locfile.c (write_all_categories): Likewise.
4141 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4142             Aldy Hernandez  <aldyh@redhat.com>
4144         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4145         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4146         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4147         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4148         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4149         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4150         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4151         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4152         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4153         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4154         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4155         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4156         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4157         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4158         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4159         Likewise.
4160         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4161         Likewise.
4162         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4163         Likewise.
4164         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4165         Likewise.
4166         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4167         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4168         Likewise.
4169         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4170         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4171         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4172         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4173         Likewise.
4174         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4175         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4176         * sysdeps/powerpc/preconfigure: Likewise.
4177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4178         Likewise.
4179         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4180         Replace contents of file by #include of <fenv_libc.h>.
4181         * sysdeps/powerpc/soft-fp/sfp-machine.h
4182         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4183         and <sys/prctl.h>.
4184         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4185         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4186         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4187         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4188         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4189         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4191         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4192         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4193         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4194         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4195         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4197         Allow copysignl PLT reference to be missing.
4199 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4200             Joseph Myers  <joseph@codesourcery.com
4202         [BZ #15948]
4203         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4204         single character.
4205         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4207 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4209         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4210         * elf/tst-tls1.c: Likewise.
4211         * elf/tst-tls10.h: Likewise.
4212         * elf/tst-tls14.c: Likewise.
4213         * elf/tst-tls2.c: Likewise.
4214         * elf/tst-tls3.c: Likewise.
4215         * elf/tst-tls4.c: Likewise.
4216         * elf/tst-tls5.c: Likewise.
4217         * elf/tst-tls6.c: Likewise.
4218         * elf/tst-tls7.c: Likewise.
4219         * elf/tst-tls8.c: Likewise.
4220         * elf/tst-tls9.c: Likewise.
4221         * elf/tst-tlsmod1.c: Likewise.
4222         * elf/tst-tlsmod13.c: Likewise.
4223         * elf/tst-tlsmod13a.c: Likewise.
4224         * elf/tst-tlsmod14a.c: Likewise.
4225         * elf/tst-tlsmod16a.c: Likewise.
4226         * elf/tst-tlsmod16b.c: Likewise.
4227         * elf/tst-tlsmod2.c: Likewise.
4228         * elf/tst-tlsmod3.c: Likewise.
4229         * elf/tst-tlsmod4.c: Likewise.
4230         * elf/tst-tlsmod5.c: Likewise.
4231         * elf/tst-tlsmod6.c: Likewise.
4233 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4235         [BZ #12486]
4236         * malloc/malloc.c: remove checks for statistics.
4238 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4240         [BZ #15277]
4241         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4242         * inet/tst-network.c: Add testcase.
4244 2013-10-17  Andreas Schwab  <schwab@suse.de>
4246         [BZ #15218]
4247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4248         to determine canonical name.
4250 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4252         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4253         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4254         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4255         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4256         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4257         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4258         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4259         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4260         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4261         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4262         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4263         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4264         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4265         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4266         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4267         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4268         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4269         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4270         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4271         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4272         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4273         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4274         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4275         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4276         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4277         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4278         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4279         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4280         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4281         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4282         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4283         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4284         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4285         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4286         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4287         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4288         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4289         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4290         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4291         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4292         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4293         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4294         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4295         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4296         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4297         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4298         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4299         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4300         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4301         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4302         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4303         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4304         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4305         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4306         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4307         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4308         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4309         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4311 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4313         [BZ #16041]
4314         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4315         make result into a quiet NaN.
4317 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4319         * soft-fp/adddf3.c: Fix horizontal whitespace.
4320         * soft-fp/addsf3.c: Likewise.
4321         * soft-fp/addtf3.c: Likewise.
4322         * soft-fp/divdf3.c: Likewise.
4323         * soft-fp/divsf3.c: Likewise.
4324         * soft-fp/divtf3.c: Likewise.
4325         * soft-fp/double.h: Likewise.
4326         * soft-fp/eqdf2.c: Likewise.
4327         * soft-fp/eqsf2.c: Likewise.
4328         * soft-fp/eqtf2.c: Likewise.
4329         * soft-fp/extenddftf2.c: Likewise.
4330         * soft-fp/extended.h: Likewise.
4331         * soft-fp/extendsfdf2.c: Likewise.
4332         * soft-fp/extendsftf2.c: Likewise.
4333         * soft-fp/extendxftf2.c: Likewise.
4334         * soft-fp/fixdfdi.c: Likewise.
4335         * soft-fp/fixdfsi.c: Likewise.
4336         * soft-fp/fixdfti.c: Likewise.
4337         * soft-fp/fixsfdi.c: Likewise.
4338         * soft-fp/fixsfsi.c: Likewise.
4339         * soft-fp/fixsfti.c: Likewise.
4340         * soft-fp/fixtfdi.c: Likewise.
4341         * soft-fp/fixtfsi.c: Likewise.
4342         * soft-fp/fixtfti.c: Likewise.
4343         * soft-fp/fixunsdfdi.c: Likewise.
4344         * soft-fp/fixunsdfsi.c: Likewise.
4345         * soft-fp/fixunsdfti.c: Likewise.
4346         * soft-fp/fixunssfdi.c: Likewise.
4347         * soft-fp/fixunssfsi.c: Likewise.
4348         * soft-fp/fixunssfti.c: Likewise.
4349         * soft-fp/fixunstfdi.c: Likewise.
4350         * soft-fp/fixunstfsi.c: Likewise.
4351         * soft-fp/fixunstfti.c: Likewise.
4352         * soft-fp/floatdidf.c: Likewise.
4353         * soft-fp/floatdisf.c: Likewise.
4354         * soft-fp/floatditf.c: Likewise.
4355         * soft-fp/floatsidf.c: Likewise.
4356         * soft-fp/floatsisf.c: Likewise.
4357         * soft-fp/floatsitf.c: Likewise.
4358         * soft-fp/floattidf.c: Likewise.
4359         * soft-fp/floattisf.c: Likewise.
4360         * soft-fp/floattitf.c: Likewise.
4361         * soft-fp/floatundidf.c: Likewise.
4362         * soft-fp/floatundisf.c: Likewise.
4363         * soft-fp/floatunditf.c: Likewise.
4364         * soft-fp/floatunsidf.c: Likewise.
4365         * soft-fp/floatunsisf.c: Likewise.
4366         * soft-fp/floatunsitf.c: Likewise.
4367         * soft-fp/floatuntidf.c: Likewise.
4368         * soft-fp/floatuntisf.c: Likewise.
4369         * soft-fp/floatuntitf.c: Likewise.
4370         * soft-fp/fmadf4.c: Likewise.
4371         * soft-fp/fmasf4.c: Likewise.
4372         * soft-fp/fmatf4.c: Likewise.
4373         * soft-fp/gedf2.c: Likewise.
4374         * soft-fp/gesf2.c: Likewise.
4375         * soft-fp/getf2.c: Likewise.
4376         * soft-fp/ledf2.c: Likewise.
4377         * soft-fp/lesf2.c: Likewise.
4378         * soft-fp/letf2.c: Likewise.
4379         * soft-fp/muldf3.c: Likewise.
4380         * soft-fp/mulsf3.c: Likewise.
4381         * soft-fp/multf3.c: Likewise.
4382         * soft-fp/negdf2.c: Likewise.
4383         * soft-fp/negsf2.c: Likewise.
4384         * soft-fp/negtf2.c: Likewise.
4385         * soft-fp/op-1.h: Likewise.
4386         * soft-fp/op-2.h: Likewise.
4387         * soft-fp/op-4.h: Likewise.
4388         * soft-fp/op-8.h: Likewise.
4389         * soft-fp/op-common.h: Likewise.
4390         * soft-fp/quad.h: Likewise.
4391         * soft-fp/single.h: Likewise.
4392         * soft-fp/soft-fp.h: Likewise.
4393         * soft-fp/sqrtdf2.c: Likewise.
4394         * soft-fp/sqrtsf2.c: Likewise.
4395         * soft-fp/sqrttf2.c: Likewise.
4396         * soft-fp/subdf3.c: Likewise.
4397         * soft-fp/subsf3.c: Likewise.
4398         * soft-fp/subtf3.c: Likewise.
4399         * soft-fp/truncdfsf2.c: Likewise.
4400         * soft-fp/trunctfdf2.c: Likewise.
4401         * soft-fp/trunctfsf2.c: Likewise.
4402         * soft-fp/trunctfxf2.c: Likewise.
4403         * soft-fp/unorddf2.c: Likewise.
4404         * soft-fp/unordsf2.c: Likewise.
4405         * soft-fp/unordtf2.c: Likewise.
4407 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4409         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4410         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4412 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4414         * elf/dl-libc.c: Clear initfini list after freeing.
4416 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4418         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4419         * soft-fp/addsf3.c: Likewise.
4420         * soft-fp/addtf3.c: Likewise.
4421         * soft-fp/divdf3.c: Likewise.
4422         * soft-fp/divsf3.c: Likewise.
4423         * soft-fp/divtf3.c: Likewise.
4424         * soft-fp/double.h: Likewise.
4425         * soft-fp/eqdf2.c: Likewise.
4426         * soft-fp/eqsf2.c: Likewise.
4427         * soft-fp/eqtf2.c: Likewise.
4428         * soft-fp/extenddftf2.c: Likewise.
4429         * soft-fp/extended.h: Likewise.
4430         * soft-fp/extendsfdf2.c: Likewise.
4431         * soft-fp/extendsftf2.c: Likewise.
4432         * soft-fp/extendxftf2.c: Likewise.
4433         * soft-fp/fixdfdi.c: Likewise.
4434         * soft-fp/fixdfsi.c: Likewise.
4435         * soft-fp/fixdfti.c: Likewise.
4436         * soft-fp/fixsfdi.c: Likewise.
4437         * soft-fp/fixsfsi.c: Likewise.
4438         * soft-fp/fixsfti.c: Likewise.
4439         * soft-fp/fixtfdi.c: Likewise.
4440         * soft-fp/fixtfsi.c: Likewise.
4441         * soft-fp/fixtfti.c: Likewise.
4442         * soft-fp/fixunsdfdi.c: Likewise.
4443         * soft-fp/fixunsdfsi.c: Likewise.
4444         * soft-fp/fixunsdfti.c: Likewise.
4445         * soft-fp/fixunssfdi.c: Likewise.
4446         * soft-fp/fixunssfsi.c: Likewise.
4447         * soft-fp/fixunssfti.c: Likewise.
4448         * soft-fp/fixunstfdi.c: Likewise.
4449         * soft-fp/fixunstfsi.c: Likewise.
4450         * soft-fp/fixunstfti.c: Likewise.
4451         * soft-fp/floatdidf.c: Likewise.
4452         * soft-fp/floatdisf.c: Likewise.
4453         * soft-fp/floatditf.c: Likewise.
4454         * soft-fp/floatsidf.c: Likewise.
4455         * soft-fp/floatsisf.c: Likewise.
4456         * soft-fp/floatsitf.c: Likewise.
4457         * soft-fp/floattidf.c: Likewise.
4458         * soft-fp/floattisf.c: Likewise.
4459         * soft-fp/floattitf.c: Likewise.
4460         * soft-fp/floatundidf.c: Likewise.
4461         * soft-fp/floatundisf.c: Likewise.
4462         * soft-fp/floatunsidf.c: Likewise.
4463         * soft-fp/floatunsisf.c: Likewise.
4464         * soft-fp/floatuntidf.c: Likewise.
4465         * soft-fp/floatuntisf.c: Likewise.
4466         * soft-fp/floatuntitf.c: Likewise.
4467         * soft-fp/fmadf4.c: Likewise.
4468         * soft-fp/fmasf4.c: Likewise.
4469         * soft-fp/fmatf4.c: Likewise.
4470         * soft-fp/gedf2.c: Likewise.
4471         * soft-fp/gesf2.c: Likewise.
4472         * soft-fp/getf2.c: Likewise.
4473         * soft-fp/ledf2.c: Likewise.
4474         * soft-fp/lesf2.c: Likewise.
4475         * soft-fp/letf2.c: Likewise.
4476         * soft-fp/muldf3.c: Likewise.
4477         * soft-fp/mulsf3.c: Likewise.
4478         * soft-fp/multf3.c: Likewise.
4479         * soft-fp/negdf2.c: Likewise.
4480         * soft-fp/negsf2.c: Likewise.
4481         * soft-fp/negtf2.c: Likewise.
4482         * soft-fp/op-1.h: Likewise.
4483         * soft-fp/op-2.h: Likewise.
4484         * soft-fp/op-4.h: Likewise.
4485         * soft-fp/op-8.h: Likewise.
4486         * soft-fp/op-common.h: Likewise.
4487         * soft-fp/quad.h: Likewise.
4488         * soft-fp/single.h: Likewise.
4489         * soft-fp/soft-fp.h: Likewise.
4490         * soft-fp/sqrtdf2.c: Likewise.
4491         * soft-fp/sqrtsf2.c: Likewise.
4492         * soft-fp/sqrttf2.c: Likewise.
4493         * soft-fp/subdf3.c: Likewise.
4494         * soft-fp/subsf3.c: Likewise.
4495         * soft-fp/subtf3.c: Likewise.
4496         * soft-fp/truncdfsf2.c: Likewise.
4497         * soft-fp/trunctfdf2.c: Likewise.
4498         * soft-fp/trunctfsf2.c: Likewise.
4499         * soft-fp/trunctfxf2.c: Likewise.
4500         * soft-fp/unorddf2.c: Likewise.
4501         * soft-fp/unordsf2.c: Likewise.
4502         * soft-fp/unordtf2.c: Likewise.
4504 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4506         [BZ #15672]
4507         * misc/error.c (error_tail): Fix possible buffer overflow.
4509 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4511         [BZ #13028]
4512         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4513         address.
4515 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4517         [BZ #832]
4518         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4519         testing pipefail option.
4521 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4523         * soft-fp/double.h: Indent preprocessor directives inside #if.
4524         * soft-fp/extended.h: Likewise.
4525         * soft-fp/op-2.h: Likewise.
4526         * soft-fp/op-4.h: Likewise.
4527         * soft-fp/op-common.h: Likewise.
4528         * soft-fp/quad.h: Likewise.
4529         * soft-fp/single.h: Likewise.
4530         * soft-fp/soft-fp.h: Likewise.
4532 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4534         * iconv/iconv_prog.c: Fix typos.
4535         * stdio-common/psiginfo-data.h: Likewise.
4537 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4539         [BZ #15764]
4540         * locale/setlocale.c: Fix typo.
4542 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4544         [BZ #16036]
4545         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4546         signaling NaN arguments.
4547         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4548         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4550         [BZ #14910]
4551         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4552         unordered operands.
4553         * soft-fp/gesf2.c (__gesf2): Likewise.
4554         * soft-fp/getf2.c (__getf2): Likewise.
4555         * soft-fp/ledf2.c (__ledf2): Likewise.
4556         * soft-fp/lesf2.c (__lesf2): Likewise.
4557         * soft-fp/letf2.c (__letf2): Likewise.
4559         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4560         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4561         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4562         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4563         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4564         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4565         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4566         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4567         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4568         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4569         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4570         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4571         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4572         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4573         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4574         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4575         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4576         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4577         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4578         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4579         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4580         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4581         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4582         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4583         * soft-fp/floattidf.c (__floattidf): Likewise.
4584         * soft-fp/floattisf.c (__floattisf): Likewise.
4585         * soft-fp/floattitf.c (__floattitf): Likewise.
4586         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4587         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4588         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4589         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4590         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4591         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4592         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4593         * soft-fp/gesf2.c (__gesf2): Likewise.
4594         * soft-fp/getf2.c (__getf2): Likewise.
4595         * soft-fp/ledf2.c (__ledf2): Likewise.
4596         * soft-fp/lesf2.c (__lesf2): Likewise.
4597         * soft-fp/letf2.c (__letf2): Likewise.
4599         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4600         Undefine and redefine.
4601         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4602         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4603         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4604         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4605         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4606         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4607         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4608         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4609         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4610         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4611         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4612         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4613         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4614         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4615         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4617         [BZ #16032]
4618         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4619         without decrementing exponent if mantissa >= that for the
4620         denominator, not >.
4621         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4622         denominator, not >.  Decrement exponent in < case instead of
4623         incrementing in >= case.
4624         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4625         without decrementing exponent if mantissa >= that for the
4626         denominator, not >.
4628         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4629         computing saturated result for unsigned overflow.
4631 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4632             Jeff Law  <law@redhat.com>
4634         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4635         (atan2Mp): Add systemtap probe marker.
4636         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4637         (__ieee754_log): Add systemtap probe marker.
4638         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4639         (atanMp): Add systemtap probe marker.
4640         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4641         (tanMp): Add systemtap probe marker.
4642         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4643         (__slowexp): Add systemtap probe marker.
4644         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4645         (__slowpow): Add systemtap probe marker.
4646         * manual/probes.texi: Document probes.
4648 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4650         [BZ #15362]
4651         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4652         written.
4653         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4654         written.
4655         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4656         written to buffer but not flushed.
4657         * libio/iofwrite_u.c:  Likewise.
4658         * libio/iopadn.c:  Return bytes returned even if EOF was
4659         encountered.
4660         * libio/iowpadn.c:  Likewise.
4661         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4662         if _IO_padn does not write the whole buffer.
4663         [!COMPILE_WPRINTF] (PAD): Likewise.
4665 2013-10-10  David S. Miller  <davem@davemloft.net>
4667         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4668         directory block.
4670 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4672         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4673         instead of FSF address.
4674         * soft-fp/fixdfti.c: Likewise.
4675         * soft-fp/fixsfti.c: Likewise.
4676         * soft-fp/fixtfti.c: Likewise.
4677         * soft-fp/fixunsdfti.c: Likewise.
4678         * soft-fp/fixunssfti.c: Likewise.
4679         * soft-fp/fixunstfti.c: Likewise.
4680         * soft-fp/floattidf.c: Likewise.
4681         * soft-fp/floattisf.c: Likewise.
4682         * soft-fp/floattitf.c: Likewise.
4683         * soft-fp/floatuntidf.c: Likewise.
4684         * soft-fp/floatuntisf.c: Likewise.
4685         * soft-fp/floatuntitf.c: Likewise.
4686         * soft-fp/trunctfxf2.c: Likewise.
4688         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4689         * soft-fp/fixdfti.c: Likewise.
4690         * soft-fp/fixsfti.c: Likewise.
4691         * soft-fp/fixtfti.c: Likewise.
4692         * soft-fp/fixunsdfti.c: Likewise.
4693         * soft-fp/fixunssfti.c: Likewise.
4694         * soft-fp/fixunstfti.c: Likewise.
4695         * soft-fp/floattidf.c: Likewise.
4696         * soft-fp/floattisf.c: Likewise.
4697         * soft-fp/floattitf.c: Likewise.
4698         * soft-fp/floatuntidf.c: Likewise.
4699         * soft-fp/floatuntisf.c: Likewise.
4700         * soft-fp/floatuntitf.c: Likewise.
4701         * soft-fp/trunctfxf2.c: Likewise.
4703 2013-10-10  David S. Miller  <davem@davemloft.net>
4705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4707 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4709         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4710         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4711         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4712         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4713         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4714         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4715         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4717         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4718         for NaNs before doing comparisons on argument.
4719         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4720         Likewise.
4722 2013-10-10  Will Newton  <will.newton@linaro.org>
4724         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4725         passed to _int_memalign does not overflow.
4727 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4729         * scripts/bench.pl: Add include-sources directive.
4730         * benchtests/README: Update documentation.
4732 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4734         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4735         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4736         instead of FP_INIT_ROUNDMODE.
4737         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4738         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4740         [BZ #16034]
4741         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4742         copy class of input value.
4743         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4744         not handle exceptions.
4745         * soft-fp/negsf2.c (__negsf2): Likewise.
4746         * soft-fp/negtf2.c (__negtf2): Likewise.
4747         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4749 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4751         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4752         semicolon.  From Linux kernel.
4754 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4756         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4758 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4760         [BZ #156]
4761         * manual/socket.texi: Added statement about buffer
4762         for gethostbyname2_r.
4764 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4766         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4767         Use .p2align directive instead, throughout.
4768         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4769         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4770         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4771         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4772         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4773         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4774         * sysdeps/x86_64/strchr.S: Likewise.
4775         * sysdeps/x86_64/strrchr.S: Likewise.
4777 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4779         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4781         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4783         * sysdeps/generic/math_private.h (__mpsin1): Remove
4784         declaration.
4785         (__mpcos1): Likewise.
4786         (__mpsin): New argument __range_reduce.
4787         (__mpcos): Likewise.
4788         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4789         (slow): Use __mpsin and __mpcos.
4790         (slow1): Likewise.
4791         (slow2): Likewise.
4792         (sloww): Likewise.
4793         (sloww1): Likewise.
4794         (sloww2): Likewise.
4795         (bsloww): Likewise.
4796         (bsloww1): Likewise.
4797         (bsloww2): Likewise.
4798         (cslow2): Likewise.
4799         (csloww): Likewise.
4800         (csloww1): Likewise.
4801         (csloww2): Likewise.
4802         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4803         range_reduce.  Merge in __mpsin1.
4804         (__mpcos): Likewise.
4805         (__mpsin1): Remove.
4806         (__mpcos1): Likewise.
4808 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4810         * locale/loadlocale.c (_nl_intern_locale_data): Use
4811         LOCFILE_ALIGNED_P.
4812         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4813         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4814         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4815         obstack data is appropriately aligned.
4816         (obstack_int32_grow_fast): Likewise.
4817         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4818         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4819         (add_locale_uint32_array): Likewise.
4821 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4823         * benchtests/Makefile: Remove ARGLIST and RET variables.
4824         ($(objpfx)bench-%.c): Pass only function name to the script.
4825         * benchtests/README: Update documentation.
4826         * benchtests/acos-inputs: Add new directives.
4827         * benchtests/acosh-inputs: Likewise.
4828         * benchtests/asin-inputs: Likewise.
4829         * benchtests/asinh-inputs: Likewise.
4830         * benchtests/atan-inputs: Likewise.
4831         * benchtests/atanh-inputs: Likewise.
4832         * benchtests/cos-inputs: Likewise.
4833         * benchtests/cosh-inputs: Likewise.
4834         * benchtests/exp-inputs: Likewise.
4835         * benchtests/log-inputs: Likewise.
4836         * benchtests/pow-inputs: Likewise.
4837         * benchtests/rint-inputs: Likewise.
4838         * benchtests/sin-inputs: Likewise.
4839         * benchtests/sinh-inputs: Likewise.
4840         * benchtests/tan-inputs: Likewise.
4841         * benchtests/tanh-inputs: Likewise.
4842         * scripts/bench.pl: Add support for new directives.
4844 2013-10-07  Alan Modra  <amodra@gmail.com>
4846         * README: Fix careless merge.
4848 2013-10-05  Alan Modra  <amodra@gmail.com>
4850         * NEWS: Mention powerpc64le support and bugs fixed.
4851         * README: Both big-endian and little-endian powerpc64 supported.
4853 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4855         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4856         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4857         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4858         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4860 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4862         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4863         match prototype.
4865 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4867         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4868         Move -mhard-float appending from
4869         ports/sysdeps/powerpc/powerpc32/Makefile.
4870         [$(with-fp) = yes] (ASFLAGS): Likewise.
4871         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4872         * sysdeps/powerpc/nofpu: Move directory from
4873         ports/sysdeps/powerpc/nofpu.
4874         * sysdeps/powerpc/soft-fp: Move directory from
4875         ports/sysdeps/powerpc/soft-fp.
4876         * sysdeps/powerpc/powerpc32/405: Move directory from
4877         ports/sysdeps/powerpc/powerpc32/405.
4878         * sysdeps/powerpc/powerpc32/440: Move directory from
4879         ports/sysdeps/powerpc/powerpc32/440.
4880         * sysdeps/powerpc/powerpc32/464: Move directory from
4881         ports/sysdeps/powerpc/powerpc32/464.
4882         * sysdeps/powerpc/powerpc32/476: Move directory from
4883         ports/sysdeps/powerpc/powerpc32/476.
4884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4885         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4887         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4889         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4891         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4893         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4894         * README: Update for powerpc-*-linux-gnu software floating point
4895         support in libc.
4897         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4898         case to powerpc/powerpc32*.
4899         * sysdeps/unix/sysv/linux/configure: Regenerated.
4901         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4902         (_FPU_MASK_OM): Define as 0x04.
4903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4905         0x00c10080.
4906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4907         0x0000003c.
4908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4911         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4912         getcontext_e500.
4913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4914         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4915         setcontext_e500.
4916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4917         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4918         and setcontext_e500.
4920 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4922         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4924 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4926         * manual/threads.texi (Default Thread Attributes): Fix typo.
4928 2013-10-04  Will Newton  <will.newton@linaro.org>
4930         * malloc/Makefile: Add tst-memalign.
4931         * malloc/tst-memalign.c: New file.
4933         * malloc/tst-posix_memalign.c: Add comments.
4934         (do_test): Add comments and call free on all potentially
4935         allocated pointers. Add space after cast.
4937         * malloc/tst-pvalloc.c: Add comments.
4938         (do_test): Add comments and call free on all potentially
4939         allocated pointers. Remove duplicate check for NULL pointer.
4940         Add space after cast.
4942         * malloc/tst-valloc.c: Add comments.
4943         (do_test): Add comments and call free on all potentially
4944         allocated pointers. Remove duplicate check for NULL pointer.
4945         Add space after cast.
4947 2013-10-04  Alan Modra  <amodra@gmail.com>
4949         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4950         Use stdint types in rather than __attribute__((mode())).
4951         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4953 2013-10-04  Alan Modra  <amodra@gmail.com>
4955         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4956         Correct handling of unaligned relocs for little-endian.
4957         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4959 2013-10-04  Alan Modra  <amodra@gmail.com>
4961         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4962         * configure: Regenerate.
4963         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4964         * shlib-versions: Likewise.
4966 2013-10-04  Alan Modra  <amodra@gmail.com>
4968         * string/tester.c (test_memrchr): Increment reported test cycle.
4970 2013-10-04  Alan Modra  <amodra@gmail.com>
4972         * string/test-memcpy.c (do_one_test): When reporting errors, print
4973         string address and don't overrun end of string.
4975 2013-10-04  Alan Modra  <amodra@gmail.com>
4977         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4978         insrdi.  Make better use of reg selection to speed exit slightly.
4979         Schedule entry path a little better.  Remove useless "are we done"
4980         checks on entry to main loop.  Handle wrapping around zero address.
4981         Correct main loop count.  Handle single left-over word from main
4982         loop inline rather than by using loop_small.  Remove extra word
4983         case in loop_small caused by wrong loop count.  Add little-endian
4984         support.
4985         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4986         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4987         cache hint.
4988         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4989         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4990         support.  Avoid rlwimi.
4991         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4993 2013-10-04  Alan Modra  <amodra@gmail.com>
4995         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4996         insrdi.  Formatting.
4997         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4998         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4999         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5000         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5001         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5002         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5004 2013-10-04  Alan Modra  <amodra@gmail.com>
5006         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5007         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5008         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5009         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5010         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5011         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5012         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5013         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5014         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5015         use of regs.  Use power7 mtocrf.  Tidy function tails.
5017 2013-10-04  Alan Modra  <amodra@gmail.com>
5019         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5020         Formatting.  Consistently use rXXX register defines or rN defines.
5021         Use early exit labels that avoid restoring unused non-volatile regs.
5022         Make cr field use more consistent with rWORDn compares.  Rename
5023         regs used as shift registers for unaligned loop, using rN defines
5024         for short lifetime/multiple use regs.
5025         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5026         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5027         addi 1,1,64 to pop stack frame.  Simplify return value code.
5028         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5030 2013-10-04  Alan Modra  <amodra@gmail.com>
5032         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5033         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5034         rather than rlwimi.
5035         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5036         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5037         little-endian support.  Correct typos.
5038         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5039         rather than rlwimi.
5040         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5041         in loop and entry code to keep "and." results.
5042         (strchr): Add little-endian support.  Comment.  Move cntlzd
5043         earlier in tail.
5044         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5046 2013-10-04  Alan Modra  <amodra@gmail.com>
5048         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5049         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5050         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5051         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5053 2013-10-04  Alan Modra  <amodra@gmail.com>
5055         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5056         (rTMP): Define as r11.
5057         (strcmp): Add little-endian support.  Optimise tail.
5058         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5059         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5060         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5061         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5062         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5063         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5064         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5066 2013-10-04  Alan Modra  <amodra@gmail.com>
5068         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5069         little-endian support.  Remove unnecessary "are we done" tests.
5070         Handle "s" wrapping around zero and extremely large "size".
5071         Correct main loop count.  Handle single left-over word from main
5072         loop inline rather than by using small_loop.  Correct comments.
5073         Delete "zero" tail, use "end_max" instead.
5074         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5076 2013-10-04  Alan Modra  <amodra@gmail.com>
5078         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5079         support.  Don't branch over align.
5080         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5081         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5082         support.  Rearrange tmp reg use to suit.  Comment.
5083         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5085 2013-10-04  Alan Modra  <amodra@gmail.com>
5087         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5089 2013-10-04  Alan Modra  <amodra@gmail.com>
5091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5092         conditional form of branch and link when obtaining pc.
5093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5095 2013-10-04  Alan Modra  <amodra@gmail.com>
5097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5098         HIWORD/LOWORD.
5099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5102 2013-10-04  Alan Modra  <amodra@gmail.com>
5104         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5105         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5106         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5107         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5108         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5109         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5110         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5111         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5112         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5113         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5115 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5116             Alistair Popple <alistair@ozlabs.au.ibm.com>
5117             Alan Modra <amodra@gmail.com>
5119         [BZ #15723]
5120         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5121         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5122         _dl_hwcap access for little-endian.
5123         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5124         destroy vmx regs when saving unaligned.
5125         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5126         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5127         destroy vmx regs when saving unaligned.
5129 2013-10-04  Alan Modra  <amodra@gmail.com>
5131         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5132         Don't use a union to pack hi/low value.
5134 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5136         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5137         for little-endian.
5138         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5139         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5140         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5141         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5142         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5144 2013-10-04  Alan Modra  <amodra@gmail.com>
5146         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5147         constants to usual value for .cst8 section, and remove redundant
5148         high address load.
5149         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5150         constant for 0x1p52.  Load little-endian words of double from
5151         correct stack offsets.
5153 2013-10-04  Alan Modra  <amodra@gmail.com>
5155         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5156         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5157         words of double from correct stack offsets.
5158         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5159         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5160         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5161         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5162         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5163         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5164         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5165         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5166         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5167         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5168         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5169         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5170         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5171         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5172         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5173         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5174         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5176 2013-10-04  Alan Modra  <amodra@gmail.com>
5178         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5179         64-bit int/double union.
5180         (_FPU_SETCW): Likewise.
5181         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5182         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5184 2013-10-04  Alan Modra  <amodra@gmail.com>
5186         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5187         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5189 2013-10-04  Alan Modra  <amodra@gmail.com>
5191         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5192         use vector int constants.
5193         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5195 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5197         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5198         array with long long.
5199         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5200         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5201         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5202         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5203         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5204         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5205         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5206         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5207         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5208         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5209         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5210         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5211         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5213 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5215         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5216         (__signbit): Likewise.  Correct for little-endian.
5217         (__signbitl): Call __signbit.
5218         (lrint): Correct for little-endian.
5219         (lrintf): Call lrint.
5221 2013-10-04  Alan Modra  <amodra@gmail.com>
5223         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5224         union 32-bit int array member with 64-bit int array.
5225         (t515, tm256): Double rather than long double.
5226         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5228 2013-10-04  Alan Modra  <amodra@gmail.com>
5230         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5231         Delete.
5232         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5233         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5234         version of math_ldbl.h.
5236 2013-10-04  Alan Modra  <amodra@gmail.com>
5238         [BZ #15734], [BZ #15735]
5239         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5240         all uses of ieee875 long double macros and unions.  Simplify test
5241         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5242         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5243         normalize after ldbl_extract_mantissa, and don't add hidden bit
5244         already handled.  Don't treat low word of ieee854 mantissa like
5245         low word of IBM long double and mask off bit when testing for
5246         zero.
5247         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5248         all uses of ieee875 long double macros and unions.  Simplify tests
5249         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5250         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5251         two1022, instead use their values.  Recognise that tests for large
5252         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5253         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5254         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5255         test for 0.0L and nan.  Correct negation.
5256         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5257         ieee875 long double macros and unions.  Correct output for large
5258         magnitude x.  Correct absolute value calculation.
5259         (__erfcl): Likewise.
5260         * math/libm-test.inc: Add tests for errors discovered in IBM long
5261         double versions of fmodl, remainderl, erfl and erfcl.
5263 2013-10-04  Alan Modra  <amodra@gmail.com>
5265         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5266         all uses of ieee854 long double macros and unions.  Simplify tests
5267         for long doubles that are fully specified by the high double.
5268         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5269         Likewise.
5270         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5271         Remove dead code too.
5272         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5273         (__ieee754_ynl): Likewise.
5274         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5275         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5276         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5277         Remove dead code too.
5278         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5279         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5280         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5281         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5282         Simplify.
5283         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5284         Simplify.
5285         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5286         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5287         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5288         Comment on variable precision.
5289         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5290         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5291         Likewise.
5292         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5293         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5294         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5295         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5296         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5298 2013-10-04  Alan Modra  <amodra@gmail.com>
5300         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5301         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5302         all uses of ieee854 long double macros and unions.
5303         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5304         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5305         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5306         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5307         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5308         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5309         Likewise.
5310         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5311         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5312         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5313         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5314         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5315         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5316         Simplify sign and nan test too.
5317         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5318         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5319         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5320         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5321         Likewise.
5322         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5323         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5324         Likewise.
5325         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5326         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5327         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5328         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5329         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5332 2013-10-04  Alan Modra  <amodra@gmail.com>
5334         * stdio-common/printf_size.c (__printf_size): Don't use
5335         union ieee854_long_double in fpnum union.
5336         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5337         signbit macro to retrieve sign from long double.
5338         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5339         retrieve sign from long double.
5340         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5341         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5342         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5343         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5344         * math/test-misc.c (main): Don't use union ieee854_long_double.
5346 2013-10-04  Alan Modra  <amodra@gmail.com>
5348         [BZ #15680]
5349         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5350         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5351         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5352         calculation.  Remove unnecessary test for denormal exponent.
5353         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5354         Correct handling of denormals.  Avoid undefined shift behaviour.
5355         Correct normalisation of low mantissa when low double is denormal.
5356         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5357         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5358         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5359         Correct normalisation of low mantissa.  Test for overflow of high
5360         mantissa and normalise.
5361         (ldbl_nearbyint): Use more readable constant for two52.
5362         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5363         (__mpn_construct_long_double): Fix test for overflow of high
5364         mantissa and correct normalisation.  Avoid undefined shift.
5366 2013-10-04  Alan Modra  <amodra@gmail.com>
5368         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5369         (union ibm_extended_long_double): Define as an array of ieee754_double.
5370         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5371         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5372         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5373         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5374         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5375         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5376         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5377         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5378         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5379         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5380         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5382 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5384         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5385         page size instead of calling getpagesize.
5387         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5388         (LOCFILE_ALIGN_MASK): Likewise.
5389         (LOCFILE_ALIGN_UP): Likewise.
5390         (LOCFILE_ALIGNED_P): Likewise.
5391         * locale/programs/ld-collate.c (collate_output): Use the new
5392         macros instead of __alignof__ (int32_t).
5393         * locale/weight.h (findidx): Likewise.
5395 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5397         [BZ #431]
5398         * manual/string.texi: Fix strncat and wcsncat.
5400 2013-10-03  Brooks Moses  <bmoses@google.com>
5402         [BZ #15915]
5403         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5404         * Makerules: ...here, and adjust associated comments.
5406 2013-10-02  Will Newton  <will.newton@linaro.org>
5408         * malloc/Makefile: Add tst-pvalloc.
5409         * malloc/tst-pvalloc.c: New file.
5411 2013-10-02  Will Newton  <will.newton@linaro.org>
5413         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5414         improve test coverage.
5416 2013-10-02  Will Newton  <will.newton@linaro.org>
5418         * malloc/Makefile: Add tst-posix_memalign.
5419         * malloc/tst-posix_memalign.c: New file.
5421 2013-10-01  Eric Blake  <eblake@redhat.com>
5423         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5424         Use __THROWNL rather than __THROW on static functions.
5426 2013-09-30  Petr Machata  <pmachata@redhat.com>
5428         * elf/elf.h (R_AARCH64_ABS16): New macro.
5429         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5430         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5431         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5432         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5433         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5434         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5435         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5436         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5437         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5438         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5439         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5440         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5441         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5442         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5443         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5444         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5445         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5446         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5447         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5448         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5449         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5450         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5451         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5452         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5453         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5454         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5455         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5456         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5457         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5458         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5459         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5460         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5461         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5462         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5463         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5464         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5465         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5466         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5467         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5468         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5469         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5470         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5471         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5472         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5473         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5474         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5475         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5476         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5477         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5478         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5479         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5480         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5481         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5482         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5483         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5484         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5485         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5486         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5487         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5488         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5489         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5490         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5491         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5492         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5493         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5494         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5495         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5496         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5497         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5498         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5499         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5500         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5501         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5502         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5503         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5504         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5505         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5506         (R_AARCH64_TLSDESC_LDR): Likewise.
5507         (R_AARCH64_TLSDESC_ADD): Likewise.
5508         (R_AARCH64_TLSDESC_CALL): Likewise.
5510 2013-09-30  Andreas Schwab  <schwab@suse.de>
5512         [BZ #15048]
5513         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5514         the nss database lookup.
5515         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5518 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5520         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5522 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5524         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5525         ${Bash-specific parameter/pattern/string} parameter expansion.
5526         * sysdeps/unix/make-syscalls.sh: Likewise.
5528 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5530         * sysdeps/sh/stackguard-macros.h: New file.
5532 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5536         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5537         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5538         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5539         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5541 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5543         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5544         Fix thread ID register.
5546 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5548         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5549         [POSIX || UNIX98]: Require rather than permitting all symbols from
5550         <time.h>.
5551         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5552         element of struct sched_param.
5553         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5554         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5555         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5556         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5557         constant.
5559 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5561         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5562         argument calculation.
5564 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5566         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5567         Expect macro.
5568         [POSIX] (pthread_attr_t): Do not require type.
5569         [POSIX] (pthread_cond_t): Likewise.
5570         [POSIX] (pthread_condattr_t): Likewise.
5571         [POSIX] (pthread_key_t): Likewise.
5572         [POSIX] (pthread_mutex_t): Likewise.
5573         [POSIX] (pthread_mutexattr_t): Likewise.
5574         [POSIX] (pthread_once_t): Likewise.
5575         [POSIX] (pthread_t): Likewise.
5576         [POSIX-based standards] (pthread_atfork): Expect function.
5578 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5579             Richard Sandiford  <richard@codesourcery.com>
5581         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5582         (swap_endianness_p): New extern variable.
5583         (set_big_endian): New inline function.
5584         (maybe_swap_uint32): Likewise.
5585         (maybe_swap_uint32_array): Likewise.
5586         (maybe_swap_uint32_obstack): Likewise.
5587         * locale/programs/locfile.c: Include <stdbool.h>.
5588         (swap_endianness_p): New variable.
5589         (add_locale_uint32): Call maybe_swap_uint32.
5590         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5591         (write_locale_data): Call maybe_swap_uint32_array.
5592         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5593         maybe_swap_uint32.
5594         (obstack_int32_grow_fast): Likewise.
5595         (output_weightwc): Call maybe_swap_uint32_obstack.
5596         (collate_output): Likewise.
5597         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5598         (OPT_LITTLE_ENDIAN): Likewise.
5599         (options): Add --little-endian and --big-endian options.
5600         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5601         * locale/programs/locarchive.c: Include "locfile.h".
5602         (GET): New macro.
5603         (SET): Likewise.
5604         (INC): Likewise.
5605         (create_archive): Use the new macros to access fields of
5606         structures directly mapped from or written to locale archives.
5607         (oldlocrecentcmp): Likewise.
5608         (enlarge_archive): Likewise.
5609         (insert_name): Likewise.
5610         (add_alias): Likewise.
5611         (add_locale): Likewise.
5612         (delete_locales_from_archive): Likewise.
5613         (show_archive_content): Likewise.
5614         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5615         locale data.
5617 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5619         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5620         http://www.gnu.org/doc/freemanuals.texi.
5621         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5623 2013-09-24  Will Newton  <will.newton@linaro.org>
5625         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5626         macro.
5628 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5630         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5631         unsigned char.
5633 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5635         * manual/threads.texi (POSIX Threads): Fix a typo.
5637 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5639         [BZ #14547]
5640         * string/tst-strcoll-overflow.c: New test case.
5641         * string/Makefile (xtests): Add tst-strcoll-overflow.
5642         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5643         cache if string sizes may cause integer overflow.
5645         [BZ #14547]
5646         * string/strcoll_l.c (coll_seq): New members rule, idx,
5647         save_idx and back_us.
5648         (get_next_seq_nocache): New function.
5649         (do_compare_nocache): New function.
5650         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5651         when malloc fails.
5653 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5655         [BZ #15754]
5656         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5657         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5658         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5660         [BZ #15754]
5661         * elf/Makefile (tests): Add tst-ptrguard1.
5662         (tests-static): Add tst-ptrguard1-static.
5663         (tst-ptrguard1-ARGS): Define.
5664         (tst-ptrguard1-static-ARGS): Define.
5665         * elf/tst-ptrguard1.c: New file.
5666         * elf/tst-ptrguard1-static.c: New file.
5667         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5668         * sysdeps/i386/stackguard-macros.h: Likewise.
5669         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5670         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5671         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5672         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5673         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5674         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5676 2013-09-23  Hector Marco  <hecmargi@upv.es>
5677             Ismael Ripoll  <iripoll@disca.upv.es>
5678             Carlos O'Donell  <carlos@redhat.com>
5680         [BZ #15754]
5681         * sysdeps/generic/stackguard-macros.h: Define
5682         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5683         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5684         Define __pointer_chk_guard_local.
5685         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5686         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5688 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5690         [BZ #15859]
5691         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5693 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5695         * include/string.h (__ffs): Declare as hidden.
5696         * string/ffs.c (__ffs): Define as hidden.
5697         * sysdeps/i386/ffs.c (__ffs): Likewise.
5698         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5699         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5700         * sysdeps/s390/ffs.c (__ffs): Likewise.
5701         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5703 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5705         * NEWS: Mention malloc probes.
5707         * malloc/arena.c (new_heap): New memory_heap_new probe.
5708         (grow_heap): New memory_heap_more probe.
5709         (shrink_heap): New memory_heap_less probe.
5710         (heap_trim): New memory_heap_free probe.
5711         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5712         (systrim): New memory_sbrk_less probe.
5713         * manual/probes.texi: Document them.
5715         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5716         * manual/probes.texi: Document it.
5718         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5719         (__libc_realloc): Add memory_realloc_retry probe.
5720         (__libc_memalign): Add memory_memalign_retry probe.
5721         (__libc_valloc): Add memory_valloc_retry probe.
5722         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5723         (__libc_calloc): Add memory_calloc_retry probe.
5724         * manual/probes.texi: Document them.
5726         * malloc/arena.c (get_free_list): Add probe
5727         memory_arena_reuse_free_list.
5728         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5729         and memory_arena_reuse.
5730         (arena_get2) [!PER_THREAD]: Likewise.
5731         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5732         memory_arena_reuse_realloc.
5733         * manual/probes.texi: Document them.
5735         * malloc/malloc.c (__libc_free): Add
5736         memory_mallopt_free_dyn_thresholds probe.
5737         (__libc_mallopt): Add multiple memory_mallopt probes.
5738         * manual/probes.texi: Document them.
5740         * malloc/malloc.c: Include stap-probe.h.
5741         (__libc_mallopt): Add memory_mallopt probe.
5742         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5743         * manual/probes.texi: New.
5744         * manual/Makefile (chapters): Add probes.
5745         * manual/threads.texi: Set next node.
5747 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5749         [BZ #15963, #13985]
5750         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5751         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5752         Add `Chinese' to `nan' entry name.
5754 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5756         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5757         (POLYNOMIAL): Likewise.
5758         (TAYLOR_SINCOS): Likewise.
5759         (TAYLOR_SLOW): Likewise.
5760         (__sin): Use TAYLOR_SINCOS.
5761         (__cos): Likewise.
5762         (slow): Use TAYLOR_SLOW.
5763         (sloww): Likewise.
5764         (bsloww): Likewise.
5765         (csloww): Likewise.
5767 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5769         * stdlib/strtod_l.c: Fix buffer overrun.
5771 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5773         * benchtests/Makefile (bench): Add sincos.
5774         * benchtests/bench-sincos.c: New file.
5776         * math/libm-test.inc (cos_test_data): New test inputs.
5777         (sin_test_data): Likewise.
5779         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5780         macro.
5781         (__sin): Use it.
5782         (__cos): Likewise.
5783         (slow1): Likewise.
5784         (slow2): Likewise.
5785         (sloww1): Likewise.
5786         (sloww2): Likewise.
5787         (bsloww1): Likewise.
5788         (bsloww2): Likewise.
5789         (cslow2): Likewise.
5790         (csloww1): Likewise.
5791         (csloww2): Likewise.
5793         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5794         function.
5795         (__sin): Use it.
5796         (__cos): Likewise.
5798         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5799         gotos.
5800         (__cos): Likewise.
5802 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5804         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5805         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5806         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5807         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5808         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5809         * elf/cache.c (print_entry): Handle the new cache flags.
5811 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5812             Aldy Hernandez  <aldyh@redhat.com>
5814         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5815         Change condition to [_SOFT_FLOAT].
5816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5822         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5823         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5824         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5828         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5831         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5832         declaration.
5834 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5836         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5837         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5838         (__longjmp): Use LOAD_GP to load saved GPRs.
5839         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5840         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5841         (__sigsetjmp): Use SAVE_GP to save GPRs.
5843         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5844         Do not append -msoft-float.
5845         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5847 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5849         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5851 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5853         [BZ #15966]
5854         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5855         (_FPU_GETCW): Use initial "__" on variable and field names but not
5856         on macro parameter name.
5857         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5858         parentheses around reference to macro parameter.
5860 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5862         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5863         prototype.
5864         (ctype_startup): Use uint32_t in cast and sizeof for
5865         ctype->charnames.
5867 2013-09-11  Jia Liu  <proljc@gmail.com>
5869         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5870         __daddr_t_defined.
5871         [__FreeBSD__]: Likewise.
5873 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5876         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5877         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5878         (strchr): Remove __strchr_sse42 ifunc selection.
5879         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5880         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5882 2013-09-11  Will Newton  <will.newton@linaro.org>
5884         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5885         parameter to RES. Remove hardcoded 1000 value.
5886         * benchtests/bench-skeleton.c (main): Pass RES parameter
5887         to TIMING_INIT and multiply result by 1000.
5889 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5893 2013-09-11  Andreas Schwab  <schwab@suse.de>
5895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5896         if not defined.
5897         (O_TMPFILE) [__USE_GNU]: Define.
5898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5899         Define.
5901 2013-09-11  Will Newton  <will.newton@linaro.org>
5903         [BZ #15857]
5904         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5905         does not overflow.
5907 2013-09-11  Will Newton  <will.newton@linaro.org>
5909         [BZ #15856]
5910         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5911         does not overflow.
5913 2013-09-11  Will Newton  <will.newton@linaro.org>
5915         [BZ #15855]
5916         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5917         does not overflow.
5919 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5921         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5922         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5923         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5924         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5925         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5927 2013-09-10  Allan McRae  <allan@archlinux.org>
5929         [BZ #15748]
5930         * manual/arith.texi (Parsing of Floats): Clarify
5931         cross-reference.
5933         [BZ #15849]
5934         * manual/install.texi (Running make install): Mention
5935         --enable-pt-chown.
5936         * INSTALL: Regenerated.
5938 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5940         * csu/init-first.c (_init): Remove the !SHARED condition around
5941         FPU control word initialization.
5942         * elf/dl-support.c (_dl_fpu_control): New variable.
5943         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5944         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5945         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5946         * math/test-fpucw-static.c: New file.
5947         * math/test-fpucw-ieee.c: New file.
5948         * math/test-fpucw-ieee-static.c: New file.
5949         * math/Makefile (tests): Add `test-fpucw-ieee' and
5950         `$(tests-static)'.
5951         (tests-static): New variable.
5952         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5953         dependency to...
5954         [($(build-shared),yes)]
5955         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5956         ... this.
5957         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5958         New dependency.
5960 2013-09-09  Allan McRae  <allan@archlinux.org>
5962         [BZ #15939]
5963         * manual/string.texi (Collation Functions): Fix typo in
5964         strcoll example.
5965         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5967         [BZ #15893]
5968         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5970         [BZ #15892]
5971         * libio/memstream.c (open_memstream): Fix memory leak.
5972         * libio/wmemstream.c (open_wmemstream): Likewise.
5974         [BZ #15895]
5975         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5977 2013-09-09  Will Newton  <will.newton@linaro.org>
5979         * malloc/Makefile: Add tst-realloc to tests.
5980         * malloc/tst-realloc.c: New file.
5982 2013-09-09  Allan McRae  <allan@archlinux.org>
5984         [BZ #15844]
5985         * COPYING: Update from GNU website to fix FSF address.
5986         * COPYING.LIB: Likewise.
5988 2013-09-06  David S. Miller  <davem@davemloft.net>
5990         * po/zh_TW.po: Update Chinese (traditional) translation from
5991         translation project.
5993 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5994             Joseph Myers  <joseph@codesourcery.com>
5996         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5997         "localeinfo.h".
5998         (obstack_chunk_alloc): New macro.
5999         (obstack_chunk_free): Likewise.
6000         (record_offset): New function.
6001         (init_locale_data): Likewise.
6002         (align_locale_data): Likewise.
6003         (add_locale_empty): Likewise.
6004         (add_locale_raw_data): Likewise.
6005         (add_locale_raw_obstack): Likewise.
6006         (add_locale_string): Likewise.
6007         (add_locale_wstring): Likewise.
6008         (add_locale_uint32): Likewise.
6009         (add_locale_uint32_array): Likewise.
6010         (add_locale_char): Likewise.
6011         (start_locale_structure): Likewise.
6012         (end_locale_structure): Likewise.
6013         (start_locale_prelude): Likewise.
6014         (end_locale_prelude): Likewise.
6015         (write_locale_data): Take locale_file structure rather than an
6016         iovec.
6017         * locale/programs/locfile.h: Include "obstack.h".
6018         (struct locale_file): Change to store locale file contents instead
6019         of header.
6020         (init_locale_data): New prototype.
6021         (align_locale_data): Likewise.
6022         (add_locale_empty): Likewise.
6023         (add_locale_raw_data): Likewise.
6024         (add_locale_raw_obstack): Likewise.
6025         (add_locale_string): Likewise.
6026         (add_locale_wstring): Likewise.
6027         (add_locale_uint32): Likewise.
6028         (add_locale_uint32_array): Likewise.
6029         (add_locale_char): Likewise.
6030         (start_locale_structure): Likewise.
6031         (end_locale_structure): Likewise.
6032         (start_locale_prelude): Likewise.
6033         (end_locale_prelude): Likewise.
6034         (write_locale_data): Update prototype.
6035         * locale/programs/3level.h (struct TABLE): Remove result field.
6036         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6037         Use new locale_file interface.
6038         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6039         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6040         * locale/programs/ld-address.c (address_output): Use new
6041         locale_file interface.
6042         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6043         NO_ADD_LOCALE.
6044         (collate_finish): Don't call collseq_table_finalize.
6045         (collate_output): Use new locale_file interface.
6046         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6047         in file.
6048         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6049         (TABLE): Move defines earlier in file.
6050         (ELEMENT): Likewise.
6051         (DEFAULT): Likewise.
6052         (wctrans_table_add): Move macro and inline function earlier in
6053         file.
6054         (struct wctype_table): Move type earlier in file.
6055         (add_locale_wctype_table): New static prototype.
6056         (struct locale_ctype_t): Use logical types instead of struct iovec
6057         pointers for members.
6058         (ctype_output): Use new locale_file interface.
6059         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6060         new locale_file interface.
6061         (allocate_arrays): Update for use of new locale_file interface.
6062         * locale/programs/ld-identification.c (identification_output): Use
6063         new locale_file interface.
6064         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6065         * locale/programs/ld-messages.c (messages_output): Likewise.
6066         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6067         * locale/programs/ld-name.c (name_output): Likewise.
6068         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6069         * locale/programs/ld-paper.c (paper_output): Likewise.
6070         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6071         * locale/programs/ld-time.c (time_output): Likewise.
6073 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6075         * benchtests/Makefile: Add memrchr benchmark.
6076         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6077         benchmark as memrchr.
6078         * benchtests/bench-memrchr-ifunc.c: New file.
6079         * benchtests/bench-memrchr.c: New file.
6081 2013-09-06   Will Newton  <will.newton@linaro.org>
6083         * benchtests/Makefile (string-bench): Add memcpy.
6085 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6086             Cong Wang  <amwang@redhat.com>
6088         [BZ #15850]
6089         * sysdeps/unix/sysv/linux/bits/in.h
6090         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6091         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6092         before __USE_KERNEL_IPV6_DEFS uses.
6093         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6094         IPPROTO_BEETPH.
6095         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6096         sockaddr_in6, or ipv6_mreq.
6098 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6100         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6101         memory access for final bytes in some large inputs.
6102         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6104 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6106         * string/test-memrchr.c: New file.
6107         * string/test-memrchr-ifunc.c: New file.
6108         * string/Makefile: Add new memrchr testcase.
6110 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6112         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6113         fanotify_init returns EPERM.
6115 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6117         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6118         errors.
6119         (top level): Treat second token from macro or constant entries for
6120         allowed headers as allowed.
6121         * include/complex.h: Condition internal declarations on
6122         [!_ISOMAC].
6123         * include/fenv.h: Condition include of <stdbool.h> and internal
6124         declarations on [!_ISOMAC].
6126 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6128         [BZ #15923]
6129         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6131 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6133         * configure.in (--enable-versioning): Remove configure option.
6134         (libc_cv_asm_symver_directive): Remove configure test.
6135         (libc_cv_ld_version_script_option): Likewise.
6136         (VERSIONING): Remove variable and AC_SUBST.
6137         (DO_VERSIONING): Remove AC_DEFINE.
6138         * configure: Regenerated.
6139         * config.h.in (DO_VERSIONING): Remove macro.
6140         * Makerules [$(versioning) = yes]: Change conditionals to
6141         [$(build-shared) = yes].
6142         * config.make.in (versioning): Remove variable.
6143         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6144         [$(build-shared) = yes].
6145         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6146         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6147         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6148         [$(build-shared) = yes].
6149         * extra-lib.mk [$(versioning) = yes]: Likewise.
6150         * hurd/Makefile [$(versioning) = yes]: Likewise.
6151         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6152         [SHARED].
6153         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6154         [SHARED].
6155         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6156         [SHARED && !NO_HIDDEN].
6157         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6158         [SHARED].
6159         [SHARED && DO_VERSIONING]: Likewise..
6160         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6161         [$(build-shared) = yes].
6162         * manual/install.texi (--disable-versioning): Remove
6163         documentation.
6164         * INSTALL: Regenerated.
6165         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6166         to [SHARED].
6167         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6168         [$(build-shared) = yes].
6169         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6170         * sysdeps/i386/i686/multiarch/strstr-c.c
6171         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6172         [SHARED && !NO_HIDDEN].
6173         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6174         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6175         * sysdeps/powerpc/powerpc32/dl-machine.c
6176         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6177         * sysdeps/powerpc/powerpc32/sysdep.h
6178         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6179         to [SHARED && PIC && !NO_HIDDEN].
6180         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6181         conditional to [SHARED].
6183 2013-09-04   Will Newton  <will.newton@linaro.org>
6185         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6186         * benchtests/bench-string.h: Include bench-timing.h instead
6187         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6188         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6189         call to HP_TIMING_DIFF_INIT.
6190         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6191         instead of hp-timing.h macros.
6192         * benchtests/bench-memchr.c: Likewise.
6193         * benchtests/bench-memcmp.c: Likewise.
6194         * benchtests/bench-memcpy.c: Likewise.
6195         * benchtests/bench-memmem.c: Likewise.
6196         * benchtests/bench-memmove.c: Likewise.
6197         * benchtests/bench-memset.c: Likewise.
6198         * benchtests/bench-rawmemchr.c: Likewise.
6199         * benchtests/bench-strcasecmp.c: Likewise.
6200         * benchtests/bench-strcasestr.c: Likewise.
6201         * benchtests/bench-strcat.c: Likewise.
6202         * benchtests/bench-strchr.c: Likewise.
6203         * benchtests/bench-strcmp.c: Likewise.
6204         * benchtests/bench-strcpy.c: Likewise.
6205         * benchtests/bench-strcpy_chk.c: Likewise.
6206         * benchtests/bench-strlen.c: Likewise.
6207         * benchtests/bench-strncasecmp.c: Likewise.
6208         * benchtests/bench-strncat.c: Likewise.
6209         * benchtests/bench-strncmp.c: Likewise.
6210         * benchtests/bench-strncpy.c: Likewise.
6211         * benchtests/bench-strnlen.c: Likewise.
6212         * benchtests/bench-strpbrk.c: Likewise.
6213         * benchtests/bench-strrchr.c: Likewise.
6214         * benchtests/bench-strspn.c: Likewise.
6215         * benchtests/bench-strstr.c: Likewise.
6217 2013-09-04  Will Newton  <will.newton@linaro.org>
6219         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6221 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6223         [BZ #15427]
6224         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6225         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6226         * math/libm-test.inc (lgamma_test_data): Add more tests.
6227         * sysdeps/i386/fpu/libm-test-ulps: Update.
6228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6230 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6232         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6234         Add ifunc.
6235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6236         Add strcmp-sse2-unaligned
6237         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6239 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6241         * Versions.def (libc): Add GLIBC_2.19.
6243 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6245         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6246         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6248 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6250         [BZ #14155]
6251         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6252         intermediate calculations in recurrence.
6253         (__ieee754_ynf): Likewise.
6254         * math/libm-test.inc (jn_test_data): Do not allow spurious
6255         underflow exception.  Add more tests.
6256         (yn_test_data): Add more tests.
6257         * sysdeps/i386/fpu/libm-test-ulps: Update.
6258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6260 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6262         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6264 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6266         * csu/init-first.c: Fix then/than typos.
6267         * locale/programs/ld-collate.c: Likewise.
6268         * locale/programs/linereader.h: Likewise.
6269         * manual/charset.texi: Likewise.
6270         * manual/filesys.texi: Likewise.
6271         * manual/stdio.texi: Likewise.
6272         * manual/string.texi: Likewise.
6273         * stdlib/fmtmsg.c: Likewise.
6274         * sysdeps/i386/stpncpy.S: Likewise.
6275         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6276         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6277         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6278         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6280 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6282         * elf/dl-open.c: Fix typos.
6283         * iconvdata/gbbig5.c: Likewise.
6284         * iconvdata/iso-2022-jp.c: Likewise.
6285         * iconv/gconv_int.h: Likewise.
6286         * iconv/loop.c: Likewise.
6287         * nis/rpcsvc/nis.h: Likewise.
6288         * resolv/ns_name.c: Likewise.
6289         * stdio-common/vfscanf.c: Likewise.
6290         * streams/stropts.h: Likewise.
6291         * sunrpc/rpc_thread.c: Likewise.
6292         * sysdeps/i386/strpbrk.S: Likewise.
6293         * sysdeps/ieee754/k_standard.c: Likewise.
6294         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6295         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6296         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6297         * sysdeps/mach/hurd/profil.c: Likewise.
6298         * sysdeps/s390/dl-procinfo.h: Likewise.
6299         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6300         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6301         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6302         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6303         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6305 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6307         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6310 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6312         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6313         aix specific files.
6314         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6315         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6316         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6317         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6318         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6319         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6320         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6321         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6323 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6324             Roland McGrath  <roland@hack.frob.com>
6326         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6327         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6329 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6331         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6332         __executable_start symbol instead of _start.
6334 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6336         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6337         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6338         Move macros to...
6339         * sysdeps/gnu/ldsodefs.h: ... this new file.
6341         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6342         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6343         instead of ELFOSABI_LINUX.
6345         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6346         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6347         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6348         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6349         Likewise.
6350         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6351         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6352         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6353         Likewise.
6354         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6355         (ibm_extended_long_double): Add ieee_nan member.
6356         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6357         (do_test): New function.
6359         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6360         TEST_TRUNC.
6361         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6362         functions, renamed from truncdfsf_test, trunctfsf_test,
6363         trunctfdf_test.
6364         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6365         functions.
6366         (do_test): Run all these.
6368 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6370         * argp/argp-help.c: Fix typos.
6371         * argp/argp-parse.c: Likewise.
6372         * debug/backtracesyms.c: Likewise.
6373         * elf/elf.h: Likewise.
6374         * malloc/malloc.c: Likewise.
6375         * nis/nis_print.c: Likewise.
6376         * resolv/res_comp.c: Likewise.
6377         * stdlib/stdlib.h: Likewise.
6378         * sunrpc/clnt_tcp.c: Likewise.
6379         * sunrpc/clnt_udp.c: Likewise.
6380         * sunrpc/clnt_unix.c: Likewise.
6381         * sysdeps/unix/bsd/ptsname.c: Likewise.
6382         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6383         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6385         Likewise.
6386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6387         Likewise.
6388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6389         Likewise.
6390         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6392 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6394         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6395         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6397 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6399         [BZ #15897]
6400         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6401         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6402         ($(objpfx)bug-dl-leaf): New rule.
6403         ($(objpfx)bug-dl-leaf.so): Likewise.
6404         ($(objpfx)bug-dl-leaf.out): Likewise.
6405         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6406         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6407         * dlfcn/bug-dl-leaf.c: New test.
6408         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6409         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6410         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6411         (dlclose): Likewise.
6412         (dlmopen): Likewise.
6414 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6416         * include/netdb.h [!_ISOMAC]:
6417         Don't include <tls.h>.
6418         (h_errno, __libc_h_errno): Move declaration and macros out of
6419         [_LIBC_REENTRANT].
6421         * include/resolv.h [_RESOLV_H_]:
6422         Don't include <tls.h>.
6423         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6424         * resolv/res_libc.c: Don't include <tls.h>.
6425         (_res): Use __attribute__ ((nocommon)) in place of
6426         __attribute__ ((section (".bss"))).
6428         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6429         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6431         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6433         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6434         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6436         * resolv/res_mkquery.c: Include <sys/time.h>.
6438         * inet/ifreq.c: Moved to ...
6439         * sysdeps/unix/ifreq.c: ... here.
6440         * inet/ifreq.c: New file, true stub version.
6442         * socket/sa_len.c: New file.
6443         * socket/Makefile (aux): Add it.
6444         * sysdeps/unix/sysv/linux/Makefile
6445         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6446         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6447         and #include <socket/sa_len.c>.
6448         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6449         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6451         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6452         * bits/socket.h: ... here.
6454         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6455         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6456         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6458 2013-08-27  Andreas Schwab  <schwab@suse.de>
6460         [BZ #15736]
6461         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6462         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6463         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6464         * string/test-strcasecmp.c (test_main): Run tests in several
6465         locales.
6466         * string/test-strncasecmp.c (test_main): Likewise.
6468         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6469         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6470         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6471         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6472         (__strncasecmp_ssse3) [PIC]: Likewise.
6474 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6476         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6478         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6479         instead of explicitly declaring xdecrypt.
6480         * nis/nss_nis/nis-publickey.c: Likewise.
6482 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6484         [BZ #15890]
6485         * nscd/aicache.c: Include res_hconf.h.
6486         (addhstaiX): Initialize res_hconf.
6488 2013-08-26  Andreas Schwab  <schwab@suse.de>
6490         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6491         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6493 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6495         * nscd/aicache.c (addhstaiX): Fix indentation.
6497 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6499         * configure.ac: Quote $build_pt_chown test.
6500         * configure: Regenerated.
6502 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6504         [BZ #15532]
6505         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6506         * math/s_cexpf.c (__cexpf): Likewise.
6507         * math/s_cexpl.c (__cexpl): Likewise.
6508         * math/libm-test.inc (cexp_test_data): Correct expected return
6509         value for NaN + i0.  Add another test.
6511 2013-08-22  David S. Miller  <davem@davemloft.net>
6513         * po/ca.po: Update Catalan translation from translation project.
6514         * po/uk.po: Add Ukrainian translations from translation project.
6516 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6518         [BZ #15797]
6519         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6520         is infinite, not alongside NaN test.
6521         * math/s_fdimf.c (__fdimf): Likewise.
6522         * math/s_fdiml.c (__fdiml): Likewise.
6523         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6524         errno is unchanged.
6526 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6528         * argp/argp-help.c: Fix typos.
6529         * crypt/speeds.c: Likewise.
6530         * csu/check_fds.c: Likewise.
6531         * elf/dl-load.c: Likewise.
6532         * elf/dl-open.c: Likewise.
6533         * elf/reldep3.c: Likewise.
6534         * elf/reldep.c: Likewise.
6535         * elf/sprof.c: Likewise.
6536         * iconv/iconv_charmap.c: Likewise.
6537         * iconv/skeleton.c: Likewise.
6538         * iconv/strtab.c: Likewise.
6539         * io/lockf64.c: Likewise.
6540         * libio/libioP.h: Likewise.
6541         * resolv/gai_notify.c: Likewise.
6542         * resolv/ns_name.c: Likewise.
6543         * resolv/ns_samedomain.c: Likewise.
6544         * resolv/res_send.c: Likewise.
6545         * stdlib/random.c: Likewise.
6546         * sunrpc/rpc/xdr.h: Likewise.
6547         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6548         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6549         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6550         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6551         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6552         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6553         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6554         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6555         * sysdeps/mach/hurd/check_fds.c: Likewise.
6556         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6557         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6558         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6559         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6560         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6561         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6562         * sysdeps/pthread/aio_notify.c: Likewise.
6563         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6564         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6565         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6566         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6567         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6569 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6571         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6572         version if bit_Slow_SSE4_2 is set.
6573         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6574         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6576 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6578         [BZ #15867]
6579         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6580         trampoline stack frame information.
6581         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6582         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6583         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6584         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6585         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6586         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6587         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6588         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6589         sa_flags value.
6590         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6591         interrupting a syscall and set with option SA_SIGINFO.
6593 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6595         [BZ #15531]
6596         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6597         argument is infinite.
6598         * math/s_cprojf.c (__cprojf): Likewise.
6599         * math/s_cprojl.c (__cprojl): Likewise.
6600         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6601         * math/libm-test.inc (cproj_test_data): Add more tests.
6603         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6605         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6606         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6607         size.  Use __ffs to determine corresponding shift.
6609 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6610             Roland McGrath  <roland@hack.frob.com>
6612         * Makefile (INSTALL): Remove trailing blank lines from output of
6613         makeinfo.
6615 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6617         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6618         Align 32 bit compat elf_greg to 8 bytes.
6620 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6622         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6624 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6626         * string/strcoll_l.c (coll_seq): New structure.
6627         (get_next_seq_cached): New function.
6628         (get_next_seq): New function.
6629         (do_compare): New function.
6630         (STRCOLL): Use GNU style definition.  Simplify implementation
6631         by using get_next_seq, get_next_seq_cached and do_compare.
6633 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6635         [BZ #14699]
6636         CVE-2013-4237
6637         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6638         member.
6639         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6640         member.
6641         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6642         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6643         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6644         conditional.
6645         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6646         GETDENTS_64BIT_ALIGNED.
6647         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6648         * manual/filesys.texi (Reading/Closing Directory): Document
6649         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6650         strongly.
6651         * manual/conf.texi (Limits for Files): Add portability note to
6652         NAME_MAX, PATH_MAX.
6653         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6655 2013-08-13  Andreas Schwab  <schwab@suse.de>
6657         [BZ #15749]
6658         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6659         of fabs.
6660         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6661         LDBL_MAX_EXP >= 16384]: Add tests for it.
6663 2013-08-12  David S. Miller  <davem@davemloft.net>
6665         * version.h (RELEASE): Set to "development".
6666         (VERSION): Set to "2.18.90".
6667         * NEWS: Add 2.19 section.
6669 2013-08-03  David S. Miller  <davem@davemloft.net>
6671         * po/ko.po: Update Korean translation from translation project.
6673 2013-08-01  David S. Miller  <davem@davemloft.net>
6675         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6676         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6677         Bilka.
6679 2013-07-30  David S. Miller  <davem@davemloft.net>
6681         * po/fr.po: Update French translation from translation project.
6683 2013-07-28  David S. Miller  <davem@davemloft.net>
6685         * po/cs.po: Update Czech translation from translation project.
6687         * po/sv.po: Update Swedish translation from translation project.
6689 2013-07-27  David S. Miller  <davem@davemloft.net>
6691         * po/eo.po: Update Esperanto translation from translation project.
6693         * po/vi.po: Update Vietnamese translation from translation project.
6695         * po/de.po: Update German translation from translation project.
6697 2013-07-26  David S. Miller  <davem@davemloft.net>
6699         * po/bg.po: Update Bulgarian translation from translation project.
6701         * po/nl.po: Update Dutch translation from translation project.
6702         * po/pl.po: Update Polish translation from translation project.
6703         * po/ru.po: Update Russian translation from translation project.
6705 2013-07-24  David S. Miller  <davem@davemloft.net>
6707         * po/libc.pot: Update.
6709 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6711         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6712         variable page size.
6713         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6714         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6715         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6717 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6719         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6721 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6722             Andreas Schwab  <schwab@suse.de>
6723             Roland McGrath  <roland@hack.frob.com>
6724             Joseph Myers  <joseph@codesourcery.com>
6725             Carlos O'Donell  <carlos@redhat.com>
6727         [BZ #15755]
6728         * config.h.in: Define HAVE_PT_CHOWN.
6729         * config.make.in (build-pt-chown): New variable.
6730         * configure.in (--enable-pt_chown): New configure option.
6731         * configure: Regenerate.
6732         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6733         build-pt-chown is enabled.
6734         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6735         pt_chown to fix pty ownership.
6736         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6737         CLOSE_ALL_FDS.
6738         * manual/install.texi (Configuring and compiling): Mention
6739         --enable-pt_chown. Add @findex for grantpt.
6740         * INSTALL: Regenerate.
6742 2013-07-20  David S. Miller  <davem@davemloft.net>
6744         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6745         difference between 32-bit and 64-bit.
6747 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6749         [BZ #15711]
6750         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6751         Avoid system header dependency with -ffreestanding.
6752         ($(objpfx)bits/syscall%d): Likewise.
6754 2013-07-13  David S. Miller  <davem@davemloft.net>
6756         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6757         underflows from atanl/atan2l due to bug 15319.
6758         (casinh_test_data): Likewise.
6760 2013-07-07  David S. Miller  <davem@davemloft.net>
6762         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6764 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6766         * sysdeps/i386/fpu/libm-test-ulps: Update.
6767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6769 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6771         * configure.in (--enable-lock-elision): Fix message text.
6772         * INSTALL: Regenerate.
6773         * configure: Regenerate.
6775 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6779 2013-07-03  Andreas Jaeger  <aj@suse.de>
6781         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6782         define.
6783         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6784         (ptrace_peeksiginfo_args): Add.
6785         (__ptrace_peeksiginfo_flags): Add.
6786         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6787         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6788         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6790 2013-07-03  Allan McRae  <allan@archlinux.org>
6792         * sysdeps/i386/fpu/libm-test-ulps: Update.
6794 2013-07-02  David S. Miller  <davem@davemloft.net>
6796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6798 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6802 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6804         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6807 2013-07-02  Andi Kleen <ak@linux.intel.com>
6809         * config.h.in (ENABLE_LOCK_ELISION): Add.
6810         * configure.in (--enable-lock-elision): Add option.
6811         * manual/install.texi: Document --enable lock elision.
6812         * configure: Regenerate
6813         * INSTALL: Regenerate.
6815 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6817         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6818         SSE4.2 strcasecmp for libc.a.
6819         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6821 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6823         [BZ #13304]
6824         * soft-fp/op-common.h (_FP_FMA): New macro.
6825         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6826         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6827         (_FP_MUL_MEAT_1_imm): ... here.
6828         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6829         (_FP_MUL_MEAT_1_wide): ... here.
6830         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6831         (_FP_MUL_MEAT_1_hard): ... here.
6832         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6833         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6834         (_FP_MUL_MEAT_2_wide): ... here.
6835         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6836         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6837         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6838         (_FP_MUL_MEAT_2_gmp): ... here.
6839         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6840         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6841         (_FP_MUL_MEAT_4_wide): ... here.
6842         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6843         (_FP_MUL_MEAT_4_gmp): ... here.
6844         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6845         (_FP_WFRACBITS_DW_S): Likewise.
6846         (_FP_WFRACXBITS_DW_S): Likewise.
6847         (_FP_HIGHBIT_DW_S): Likewise.
6848         (FP_FMA_S): Likewise.
6849         (_FP_FRAC_HIGH_DW_S): Likewise.
6850         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6851         (_FP_WFRACBITS_DW_D): Likewise.
6852         (_FP_WFRACXBITS_DW_D): Likewise.
6853         (_FP_HIGHBIT_DW_D): Likewise.
6854         (FP_FMA_D): Likewise.
6855         (_FP_FRAC_HIGH_DW_D): Likewise.
6856         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6857         (_FP_WFRACBITS_DW_E): Likewise.
6858         (_FP_WFRACXBITS_DW_E): Likewise.
6859         (_FP_HIGHBIT_DW_E): Likewise.
6860         (FP_FMA_E): Likewise.
6861         (_FP_FRAC_HIGH_DW_E): Likewise.
6862         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6863         (_FP_WFRACBITS_DW_Q): Likewise.
6864         (_FP_WFRACXBITS_DW_Q): Likewise.
6865         (_FP_HIGHBIT_DW_Q): Likewise.
6866         (FP_FMA_Q): Likewise.
6867         (_FP_FRAC_HIGH_DW_Q): Likewise.
6868         * soft-fp/fmasf4.c: New file.
6869         * soft-fp/fmadf4.c: Likewise.
6870         * soft-fp/fmatf4.c: Likewise.
6872 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6875         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6876         Silvermont.
6877         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6878         macro.
6879         (index_Slow_SSE4_2): Likewise.
6880         (index_Prefer_PMINUB_for_stringop): Likewise.
6881         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6882         bit_Slow_SSE4_2 is set.
6883         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6884         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6886 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6888         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6889         rtld_global._dl_hwcap2.
6890         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6891         POWER8.
6892         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6893         POWER8 feature descriptions defined in _dl_hwcap2.
6894         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6895         string handling for POWER8 feature bits.
6896         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6897         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6898         _dl_powerpc_cap_flags.
6899         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6900         * sysdeps/powerpc/rtld-global-offsets.sym
6901         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6902         _dl_hwcap2 in the rtld_global_ro structure.
6904 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6906         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6907         hardware capabilities in support of AT_HWCAP2.
6908         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6909         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6910         GLRO(dl_hwcap2).
6911         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6912         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6913         explicitly the unknown a_type display mechanism is used.
6914         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6915         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6916         struct member.
6917         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6918         to macro prototype for AT_HWCAP2 support.
6919         * sysdeps/i386/dl-procinfo.h: Likewise.
6920         * sysdeps/s390/dl-procinfo.h: Likewise.
6921         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6922         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6923         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6924         return -1 for unknown a_type display fallback.
6925         * sysdeps/sparc/dl-procinfo.h: Likewise.
6926         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6927         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6929 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6931         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6932         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6934 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6936         [BZ #12492]
6937         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6938         mprotect making __stack_prot writable.
6940 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6941             Joseph Myers  <joseph@codesourcery.com>
6943         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6944         as being properly aligned.
6946 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6948         * dlfcn/modstatic5.c: New file.
6949         * dlfcn/tststatic5.c: New file.
6950         * dlfcn/Makefile (tests): Add tststatic5.
6951         (tests-static): Likewise.
6952         (modules-names): Add modstatic5.
6953         (tststatic5-ENV): New variable.
6954         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6956         [BZ #15022]
6957         * elf/dl-support.c (_dl_main_map): New variable.
6958         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6959         (_dl_nns, _dl_load_adds): Set to 1.
6960         (_dl_initial_searchlist): Refer to _dl_main_map.
6961         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6962         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6963         call to _dl_get_origin.
6964         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6965         around call_map.
6966         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6967         * dlfcn/modstatic3.c: New file.
6968         * dlfcn/tststatic3.c: New file.
6969         * dlfcn/tststatic4.c: New file.
6970         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6971         (tests-static): Likewise.
6972         (modules-names): Add modstatic3.
6973         (tststatic3-ENV, tststatic4-ENV): New variables.
6974         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6975         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6977 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6979         * configure.in (CC): Require GCC version 4.4 or later.
6980         * configure: Regenerated.
6981         * manual/install.texi (Tools for Compilation): Update GCC version
6982         requirement.
6983         * INSTALL: Regenerated.
6985 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6987         [BZ #15674]
6988         * string/test-memcmp.c (check2): New.
6989         (main): Call check2.
6991         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6993 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6995         [BZ #15022]
6996         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6997         over to...
6998         (dl_open_worker) [!SHARED]: ... here.
7000 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7002         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7004 2013-06-25  Richard Henderson  <rth@redhat.com>
7006         * locale/programs/locarchive.c: Include <libc-internal.h>
7008 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7010         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7011         trailing whitespace removed.
7013 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7015         [BZ #10283]
7016         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7017         * locale/programs/locarchive.c: Include libc-mmap.h.
7018         (prepare_address_space): Take two new outputs (the mmap base and len).
7019         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7020         values.
7021         (create_archive): Declare new mmap base and len values for
7022         prepare_address_space, and store the result in ah.
7023         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7024         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7025         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7026         Declare new mmap base and len values for
7027         prepare_address_space, and store the result in new_ah.
7028         (open_archive): Declare new mmap base and len values for
7029         prepare_address_space, and store the result in ah.
7030         (close_archive): If ah->mmap_base is not NULL, use that and
7031         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7032         * sysdeps/generic/libc-mmap.h: New file.
7034 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7036         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7037         (ALIGN_UP): Likewise.
7038         (PTR_ALIGN_DOWN): Likewise.
7039         (PTR_ALIGN_UP): Likewise.
7041 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7043         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7044         entry mapped to PPC_PLATFORM_POWER8.
7045         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7046         POWER8.
7047         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7048         (_dl_string_platform): Add case for exporting platform position for
7049         POWER8.
7050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7051         search path to sysdeps/powerpc/powerpc32/power8 directory.
7052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7053         search path to sysdeps/powerpc/powerpc64/power8 directory.
7054         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7055         power7 directories.
7056         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7057         power7 directories.
7059 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7061         * INSTALL: Regenerate.
7063         * nscd/connections.c (nscd_init): Fix comment.
7065 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7067         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7069         [BZ #15667]
7070         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7071         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7073 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7075         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7076         DL_DST_REQ_STATIC.
7077         (DL_DST_REQ_STATIC): Remove macro.
7079 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7081         [BZ #7006]
7082         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7083         with a shift of 0 bits.
7085 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7087         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7088         $(tststatic-ENV).
7090 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7092         [BZ #15655]
7093         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7095 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7097         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7098         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7099         accepts -fno-tree-loop-distribute-patterns.
7100         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7101         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7102         recursive call.
7103         * string/memset.c (memset): Likewise.
7104         * string/test-memmove.c (simple_memmove): Disable loop transformation
7105         to library calls.
7106         * string/test-memset.c (simple_memset): Likewise.
7107         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7108         * benchtests/bench-memset.c (simple_memset): Likewise.
7109         * configure: Regenerated.
7111 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7113         * math/test-misc.c (main): Ignore fesetround failure when failures
7114         of subsequent rounding tests would be ignored.
7116         [BZ #15654]
7117         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7118         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7119         * math/fegetenv.c (__fegetenv): Return 0.
7120         * math/fegetexcept.c (fegetexcept): Return 0.
7121         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7122         FE_TONEAREST.
7123         * math/feholdexcpt.c (feholdexcept): Return 0.
7124         * math/fesetenv.c (__fesetenv): Return 0.
7125         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7126         argument FE_TONEAREST.
7127         * math/feupdateenv.c (__feupdateenv): Return 0.
7128         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7130 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7132         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7133         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7134         ($(objpfx)rtld-%.os rules): Use them.
7136 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7138         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7139         fields.
7141 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7143         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7144         length of target pattern, then descending length of dependency pattern.
7145         * configure.in (AWK): Require gawk 3.1.2 or newer.
7146         * manual/install.texi (Tools for Compilation): Say that we do.
7147         * configure: Regenerated.
7149         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7150         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7151         * scripts/sysd-rules.awk: ... this new script.
7152         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7153         than a glob-style pattern.
7155 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7157         * math/test-misc.c (main): Do not treat incorrectly rounded
7158         conversions as failure unless ROUNDING_TESTS passes.
7160 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7162         [BZ #15631]
7163         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7164         restore exception state around main square root computation, then
7165         check for inexactness explicitly.
7167         * math/libm-test.inc (fma_test_data): Add another test.
7169 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7171         * manual/threads.texi (Non-POSIX Extensions): New document
7172         node.  Document pthread_getattr_default_np and
7173         pthread_setattr_default_np.
7175         * Versions.def (libpthread): Add GLIBC_2.18.
7176         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7178         Likewise.
7179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7180         Likewise.
7181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7182         Likewise.
7183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7184         Likewise.
7185         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7186         Likewise.
7187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7188         Likewise.
7189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7190         Likewise.
7191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7192         Likewise.
7193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7194         Likewise.
7196 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7199         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7201 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7202             H.J. Lu  <hjl.tools@gmail.com>
7204         [BZ #15627]
7205         * sysdeps/x86_64/rtld-memset.c: Remove file.
7206         * sysdeps/x86_64/rtld-memset.S: New file.
7208 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7210         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7211         (test_in_one_mode): Take arguments for whether the rounding mode
7212         is supported for each floating-point type.
7213         (do_test): Pass new arguments to test_in_one_mode using
7214         ROUNDING_TESTS.
7216 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7218         * posix/tst-waitid.c (do_test): Distinguish different instances of
7219         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7220         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7221         before entering the kernel for waitpid.
7223 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7225         * NEWS: Fix note on clock function precision.  Text by Roland
7226         McGrath.
7228 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7230         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7231         it into place only when and if the sanity check passes.
7233 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7235         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7236         output for whether conversion result is exact.  Take argument
7237         indicating whether type is IBM long double.
7238         (round_for_all): Change need_exact field to ibm_ld.
7239         * stdlib/tst-strtod-round.c (struct exactness): New type.
7240         (struct test): Change bool ld_ok field to struct exactness exact.
7241         (TEST): Update all definitions for change to field.
7242         (tests): Regenerate array contents.
7243         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7244         field value.  Check for IBM long double here.
7245         (do_test): Update calls to test_in_one_mode.
7247 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7249         [BZ #12515]
7250         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7251         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7253 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7255         [BZ #15605]
7256         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7257         generated by the compiler on loop optimizations.
7258         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7259         general definitions.
7261 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7263         * math/bug-nextafter.c: Include <math-tests.h>.
7264         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7265         the relevant type.
7266         * math/bug-nexttoward.c: Include <math-tests.h>.
7267         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7268         the relevant type.
7269         * math/test-misc.c: Include <math-tests.h>.
7270         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7271         the relevant type.
7273 2013-06-12  Andreas Jaeger  <aj@suse.de>
7275         * po/ia.po: Update Interlingua translation from translation
7276         project.
7278 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7280         * include/fenv.h: Include stdbool.h.
7281         (struct rm_ctx): New structure.
7282         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7283         Define macro.
7284         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7285         (SET_RESTORE_ROUNDF): Likewise.
7286         (SET_RESTORE_ROUNDL): Likewise.
7287         (SET_RESTORE_ROUND_NOEX): Likewise.
7288         (SET_RESTORE_ROUND_NOEXF): Likewise.
7289         (SET_RESTORE_ROUND_NOEXL): Likewise.
7290         (SET_RESTORE_ROUND_53BIT): Likewise.
7291         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7292         (libc_feresetround_noexf_ctx): Likewise.
7293         (libc_feresetround_noexl_ctx): Likewise.
7294         (libc_feholdsetround_53bit_ctx): Likewise.
7295         (libc_feresetround_53bit_ctx): Likewise.
7296         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7297         (libc_feholdexcept_setround_sse_ctx): New function.
7298         (libc_fesetenv_sse_ctx): Likewise.
7299         (libc_feupdateenv_sse_ctx): Likewise.
7300         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7301         (libc_feholdexcept_setround_387_ctx): Likewise.
7302         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7303         (libc_feholdsetround_387_prec_ctx): Likewise.
7304         (libc_feholdsetround_387_ctx): Likewise.
7305         (libc_feholdsetround_387_53bit_ctx): Likewise.
7306         (libc_feholdsetround_sse_ctx): Likewise.
7307         (libc_feresetround_sse_ctx): Likewise.
7308         (libc_feresetround_387_ctx): Likewise.
7309         (libc_feupdateenv_387_ctx): Likewise.
7310         (libc_feholdexcept_setroundf_ctx): Define macro.
7311         (libc_fesetenvf_ctx): Likewise.
7312         (libc_feupdateenvf_ctx): Likewise.
7313         (libc_feholdsetroundf_ctx): Likewise.
7314         (libc_feresetroundf_ctx): Likewise.
7315         (libc_feholdexcept_setround_ctx): Likewise.
7316         (libc_fesetenv_ctx): Likewise.
7317         (libc_feupdateenv_ctx): Likewise.
7318         (libc_feholdsetround_ctx): Likewise.
7319         (libc_feresetround_ctx): Likewise.
7320         (libc_feholdexcept_setroundl_ctx): Likewise.
7321         (libc_feupdateenvl_ctx): Likewise.
7322         (libc_feholdsetroundl_ctx): Likewise.
7323         (libc_feresetroundl_ctx): Likewise.
7324         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7325         (libc_feresetround_53bit_ctx): Likewise.
7327 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7329         * locale/iso-639.def: Convert to UTF-8.
7331 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7333         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7334         (EXCEPTION_TESTS_double): Likewise.
7335         (EXCEPTION_TESTS_long_double): Likewise.
7336         (EXCEPTION_TESTS): Likewise.
7337         * math/libm-test.inc (test_exceptions): Only test exceptions if
7338         EXCEPTION_TESTS (FLOAT).
7340 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7342         * benchtests/Makefile (string-bench): Add strcpy_chk and
7343         stpcpy_chk.
7344         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7345         * benchtests/bench-stpcpy_chk.c: New file.
7346         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7347         * benchtests/bench-strcpy_chk.c: New file.
7348         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7349         code.
7350         (do_test): Likewise.
7352 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7354         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7355         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7356         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7357         with tabs where appropriate.
7358         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7359         dl-procinfo.h.
7360         [PPC_PLATFORM_PPC440]: Likewise.
7361         [PPC_PLATFORM_PPC464]: Likewise.
7362         [PPC_PLATFORM_PPC476]: Likewise.
7363         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7364         ppc464, and ppc476 platform strings merging from ports/
7365         dl-procinfo.h.
7367 2013-06-11  Andreas Schwab  <schwab@suse.de>
7369         [BZ #14991]
7370         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7371         (from_ucs4_idx): Regenerate.
7372         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7373         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7374         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7375         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7376         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7377         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7378         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7379         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7380         from FROM_LOOP and TO_LOOP specific macros.
7381         (BODY): Handle combining characters.
7382         * iconvdata/BIG5HKSCS.irreversible: Update.
7383         * iconvdata/BIG5HKSCS.precomposed: New file.
7384         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7385         characters.
7386         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7388 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7390         * include/sys/time.h: Fix indentation and add copyright header.
7392         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7393         (do_test): Likewise.
7394         * string/test-memchr.c (do_one_test): Likewise.
7395         (do_test): Likewise.
7396         * string/test-memcmp.c (do_one_test): Likewise.
7397         (do_test): Likewise.
7398         * string/test-memcpy.c (do_one_test): Likewise.
7399         (do_test): Likewise.
7400         * string/test-memmem.c (do_one_test): Likewise.
7401         (do_test): Likewise.
7402         (do_random_tests): Likewise.
7403         * string/test-memmove.c (do_one_test): Likewise.
7404         (do_test): Likewise.
7405         * string/test-memset.c (do_one_test): Likewise.
7406         (do_test): Likewise.
7407         * string/test-rawmemchr.c (do_one_test): Likewise.
7408         (do_test): Likewise.
7409         * string/test-strcasecmp.c (do_one_test): Likewise.
7410         (do_test): Likewise.
7411         * string/test-strcasestr.c (do_one_test): Likewise.
7412         (do_test): Likewise.
7413         * string/test-strcat.c (do_one_test): Likewise.
7414         (do_test): Likewise.
7415         * string/test-strchr.c (do_one_test): Likewise.
7416         (do_test): Likewise.
7417         * string/test-strcmp.c (do_one_test): Likewise.
7418         (do_test): Likewise.
7419         * string/test-strcpy.c (do_one_test): Likewise.
7420         (do_test): Likewise.
7421         * string/test-string.h: Likewise.
7422         (test_init): Likewise.
7423         * string/test-strlen.c (do_one_test): Likewise.
7424         (do_test): Likewise.
7425         * string/test-strncasecmp.c (do_one_test): Likewise.
7426         (do_test): Likewise.
7427         * string/test-strncat.c (do_one_test): Likewise.
7428         (do_test): Likewise.
7429         * string/test-strncmp.c (do_one_test): Likewise.
7430         (do_test_limit): Likewise.
7431         (do_test): Likewise.
7432         * string/test-strncpy.c (do_one_test): Likewise.
7433         (do_test): Likewise.
7434         * string/test-strnlen.c (do_one_test): Likewise.
7435         (do_test): Likewise.
7436         * string/test-strpbrk.c (do_one_test): Likewise.
7437         (do_test): Likewise.
7438         * string/test-strrchr.c (do_one_test): Likewise.
7439         (do_test): Likewise.
7440         * string/test-strspn.c (do_one_test): Likewise.
7441         (do_test): Likewise.
7442         * string/test-strstr.c (do_one_test): Likewise.
7443         (do_test): Likewise.
7445         * benchtests/Makefile (string-bench): Add string benchmarks.
7446         * benchtests/bench-bcopy-ifunc.c: New file.
7447         * benchtests/bench-bcopy.c: New file.
7448         * benchtests/bench-bzero-ifunc.c: New file.
7449         * benchtests/bench-bzero.c: New file.
7450         * benchtests/bench-memccpy-ifunc.c: New file.
7451         * benchtests/bench-memccpy.c: New file.
7452         * benchtests/bench-memchr-ifunc.c: New file.
7453         * benchtests/bench-memchr.c: New file.
7454         * benchtests/bench-memcmp-ifunc.c: New file.
7455         * benchtests/bench-memcmp.c: New file.
7456         * benchtests/bench-memmem-ifunc.c: New file.
7457         * benchtests/bench-memmem.c: New file.
7458         * benchtests/bench-memmove-ifunc.c: New file.
7459         * benchtests/bench-memmove.c: New file.
7460         * benchtests/bench-mempcpy-ifunc.c: New file.
7461         * benchtests/bench-mempcpy.c: New file.
7462         * benchtests/bench-memset-ifunc.c: New file.
7463         * benchtests/bench-memset.c: New file.
7464         * benchtests/bench-rawmemchr-ifunc.c: New file.
7465         * benchtests/bench-rawmemchr.c: New file.
7466         * benchtests/bench-stpcpy-ifunc.c: New file.
7467         * benchtests/bench-stpcpy.c: New file.
7468         * benchtests/bench-stpncpy-ifunc.c: New file.
7469         * benchtests/bench-stpncpy.c: New file.
7470         * benchtests/bench-strcasecmp-ifunc.c: New file.
7471         * benchtests/bench-strcasecmp.c: New file.
7472         * benchtests/bench-strcasestr-ifunc.c: New file.
7473         * benchtests/bench-strcasestr.c: New file.
7474         * benchtests/bench-strcat-ifunc.c: New file.
7475         * benchtests/bench-strcat.c: New file.
7476         * benchtests/bench-strchr-ifunc.c: New file.
7477         * benchtests/bench-strchr.c: New file.
7478         * benchtests/bench-strchrnul-ifunc.c: New file.
7479         * benchtests/bench-strchrnul.c: New file.
7480         * benchtests/bench-strcmp-ifunc.c: New file.
7481         * benchtests/bench-strcmp.c: New file.
7482         * benchtests/bench-strcpy-ifunc.c: New file.
7483         * benchtests/bench-strcpy.c: New file.
7484         * benchtests/bench-strcspn-ifunc.c: New file.
7485         * benchtests/bench-strcspn.c: New file.
7486         * benchtests/bench-strlen-ifunc.c: New file.
7487         * benchtests/bench-strlen.c: New file.
7488         * benchtests/bench-strncasecmp-ifunc.c: New file.
7489         * benchtests/bench-strncasecmp.c: New file.
7490         * benchtests/bench-strncat-ifunc.c: New file.
7491         * benchtests/bench-strncat.c: New file.
7492         * benchtests/bench-strncmp-ifunc.c: New file.
7493         * benchtests/bench-strncmp.c: New file.
7494         * benchtests/bench-strncpy-ifunc.c: New file.
7495         * benchtests/bench-strncpy.c: New file.
7496         * benchtests/bench-strnlen-ifunc.c: New file.
7497         * benchtests/bench-strnlen.c: New file.
7498         * benchtests/bench-strpbrk-ifunc.c: New file.
7499         * benchtests/bench-strpbrk.c: New file.
7500         * benchtests/bench-strrchr-ifunc.c: New file.
7501         * benchtests/bench-strrchr.c: New file.
7502         * benchtests/bench-strspn-ifunc.c: New file.
7503         * benchtests/bench-strspn.c: New file.
7504         * benchtests/bench-strstr-ifunc.c: New file.
7505         * benchtests/bench-strstr.c: New file.
7507         * benchtests/Makefile: Disable parallel execution of targets.
7508         (string-bench): Add memcpy.
7509         (benchset): New variable to store a list of benchmark sets.
7510         (bench-func): Renamed from bench.
7511         (bench-set): New target.
7512         (bench): Depend on bench-func and bench-set.
7513         * benchtests/README: Add section on benchmark sets.
7514         * benchtests/bench-memcpy-ifunc.c: New file.
7515         * benchtests/bench-memcpy.c: New file.
7516         * benchtests/bench-string.h: New file.
7518 2013-06-11  Andreas Schwab  <schwab@suse.de>
7520         [BZ #15577]
7521         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7522         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7523         values in the triple.
7524         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7525         terminator in the group key.
7527 2013-06-11  Andreas Jaeger  <aj@suse.de>
7529         * po/zh_TW.po: Update Chinese (traditional) translation from
7530         translation project.
7532 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7534         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7535         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7536         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7537         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7538         (clock_getcpuclockid): Likewise.
7539         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7540         Add weak_alias and libc_hidden_def.
7541         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7542         * rt/clock_gettime.c (clock_gettime): Rename to
7543         __clock_gettime.  Add weak_alias and libc_hidden_def.
7544         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7545         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7546         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7547         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7548         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7549         Likewise.
7550         * rt/clock_settime.c (clock_settime): Rename to
7551         __clock_settime.  Add weak_alias and libc_hidden_def.
7552         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7554 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7556         * mach/err_boot.sub: Remove trailing whitespace.
7557         * mach/err_ipc.sub: Likewise.
7558         * mach/err_mach.sub: Likewise.
7560         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7561         (ROUNDING_TESTS_double): Likewise.
7562         (ROUNDING_TESTS_long_double): Likewise.
7563         (ROUNDING_TESTS): Likewise.
7564         * math/libm-test.inc: Include <math-tests.h>.
7565         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7566         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7567         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7568         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7570 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7572         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7573         of assigning.
7575 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7577         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7578         otherwise empty TRANS lines.
7579         * sysdeps/gnu/errlist.c: Regenerated.
7581         * catgets/gencat.c (error_print): Use (void) in function
7582         definition.
7583         * crypt/crypt_util.c (__init_des): Likewise.
7584         * crypt/speeds.c (Stop): Likewise.
7585         (main): Likewise.
7586         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7587         * inet/ruserpass.c (token): Likewise.
7588         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7589         * intl/localealias.c (extend_alias_table): Likewise.
7590         * intl/plural-exp.c (init_germanic_plural): Likewise.
7591         * libio/fcloseall.c (__fcloseall): Likewise.
7592         * libio/genops.c (_IO_flush_all): Likewise.
7593         (_IO_flush_all_linebuffered): Likewise.
7594         (_IO_cleanup): Likewise.
7595         (_IO_iter_begin): Likewise.
7596         (_IO_iter_end): Likewise.
7597         (_IO_list_lock): Likewise.
7598         (_IO_list_unlock): Likewise.
7599         (_IO_list_resetlock): Likewise.
7600         * libio/getchar.c (getchar): Likewise.
7601         * libio/getchar_u.c (getchar_unlocked): Likewise.
7602         * libio/getwchar.c (getwchar): Likewise.
7603         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7604         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7605         * login/getpt.c (__getpt): Likewise.
7606         * login/tst-utmp.c (main): Likewise.
7607         * malloc/hooks.c (__malloc_check_init): Likewise.
7608         * malloc/malloc.c (__malloc_stats): Likewise.
7609         * malloc/mtrace.c (tr_break): Likewise.
7610         (mtrace): Likewise.
7611         (muntrace): Likewise.
7612         * misc/fstab.c (endfsent): Likewise.
7613         * misc/getclktck.c (__getclktck): Likewise.
7614         * misc/getdtsz.c (__getdtablesize): Likewise.
7615         * misc/gethostid.c (gethostid): Likewise.
7616         * misc/getpagesize.c (__getpagesize): Likewise.
7617         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7618         (__get_nprocs): Likewise.
7619         (__get_phys_pages): Likewise.
7620         (__get_avphys_pages): Likewise.
7621         * misc/getttyent.c (getttyent): Likewise.
7622         (setttyent): Likewise.
7623         (endttyent): Likewise.
7624         * misc/getusershell.c (getusershell): Likewise.
7625         (endusershell): Likewise.
7626         (setusershell): Likewise.
7627         (initshells): Likewise.
7628         * misc/hsearch.c (__hdestroy): Likewise.
7629         * misc/sync.c (sync): Likewise.
7630         * misc/syslog.c (closelog_internal): Likewise.
7631         (closelog): Likewise.
7632         * misc/ttyslot.c (ttyslot): Likewise.
7633         * misc/vhangup.c (vhangup): Likewise.
7634         * posix/fork.c (__fork): Likewise.
7635         * posix/getegid.c (__getegid): Likewise.
7636         * posix/geteuid.c (__geteuid): Likewise.
7637         * posix/getgid.c (__getgid): Likewise.
7638         * posix/getpid.c (__getpid): Likewise.
7639         * posix/getppid.c (__getppid): Likewise.
7640         * posix/getuid.c (__getuid): Likewise.
7641         * posix/pause.c (pause): Likewise.
7642         * posix/setpgrp.c (setpgrp): Likewise.
7643         * posix/setsid.c (__setsid): Likewise.
7644         * posix/test-vfork.c (noop): Likewise.
7645         * resolv/gethnamaddr.c (_endhtent): Likewise.
7646         (_gethtent): Likewise.
7647         (ht_endhostent): Likewise.
7648         (gethostent): Likewise.
7649         (dns_service): Likewise.
7650         * stdlib/drand48.c (drand48): Likewise.
7651         * stdlib/lrand48.c (lrand48): Likewise.
7652         * stdlib/mrand48.c (mrand48): Likewise.
7653         * stdlib/rand.c (rand): Likewise.
7654         * stdlib/random.c (__random): Likewise.
7655         * stdlib/setenv.c (clearenv): Likewise.
7656         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7657         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7658         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7659         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7660         (__get_nprocs): Likewise.
7661         (__get_phys_pages): Likewise.
7662         (__get_avphys_pages): Likewise.
7663         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7664         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7665         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7666         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7667         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7668         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7669         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7670         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7671         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7672         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7673         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7674         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7675         * sysdeps/posix/clock.c (clock): Likewise.
7676         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7677         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7678         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7679         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7680         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7681         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7682         (__get_nprocs_conf): Likewise.
7683         (__get_phys_pages): Likewise.
7684         (__get_avphys_pages): Likewise.
7685         * time/clock.c (clock): Likewise.
7686         * time/tzset.c (__tzname_max): Likewise.
7688 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7690         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7691         (__bswap_32): Do not use "register".
7692         * crypt/crypt.c (_ufc_doit_r): Likewise.
7693         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7694         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7695         * gmon/gmon.c (__monstartup): Likewise.
7696         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7697         * hurd/hurdmalloc.c (more_memory): Likewise.
7698         (malloc): Likewise.
7699         (free): Likewise.
7700         (realloc): Likewise.
7701         (malloc_fork_prepare): Likewise.
7702         (malloc_fork_parent): Likewise.
7703         (malloc_fork_child): Likewise.
7704         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7705         (_svcauth_des): Likewise.
7706         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7707         * inet/inet_net.c (inet_network): Likewise.
7708         * inet/inet_netof.c (inet_netof): Likewise.
7709         * inet/rcmd.c (__validuser2_sa): Likewise.
7710         * io/fts.c (fts_open): Likewise.
7711         (fts_load): Likewise.
7712         (fts_close): Likewise.
7713         (fts_read): Likewise.
7714         (fts_children): Likewise.
7715         (fts_build): Likewise.
7716         (fts_stat): Likewise.
7717         (fts_sort): Likewise.
7718         (fts_alloc): Likewise.
7719         (fts_lfree): Likewise.
7720         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7721         (_IO_file_xsgetn): Likewise.
7722         (_IO_file_xsgetn_mmap): Likewise.
7723         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7724         (_IO_cookie_write): Likewise.
7725         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7726         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7727         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7728         * malloc/obstack.c (_obstack_begin): Likewise.
7729         (_obstack_begin_1): Likewise.
7730         (_obstack_newchunk): Likewise.
7731         (_obstack_allocated_p): Likewise.
7732         (obstack_free): Likewise.
7733         (_obstack_memory_used): Likewise.
7734         * misc/getttyent.c (getttynam): Likewise.
7735         (getttyent): Likewise.
7736         (skip): Likewise.
7737         (value): Likewise.
7738         * misc/getusershell.c (initshells): Likewise.
7739         * misc/syslog.c (__vsyslog_chk): Likewise.
7740         * misc/ttyslot.c (ttyslot): Likewise.
7741         * nis/nis_hash.c (__nis_hash): Likewise.
7742         * posix/fnmatch_loop.c (FCT): Likewise.
7743         * posix/getconf.c (print_all): Likewise.
7744         (main): Likewise.
7745         * posix/getopt.c (exchange): Likewise.
7746         * posix/glob.c (globfree): Likewise.
7747         (prefix_array): Likewise.
7748         (__glob_pattern_type): Likewise.
7749         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7750         (NS_GET32): Likewise.
7751         (NS_PUT16): Likewise.
7752         (NS_PUT32): Likewise.
7753         * resolv/gethnamaddr.c (getanswer): Likewise.
7754         (gethostbyname2): Likewise.
7755         (gethostbyaddr): Likewise.
7756         (_gethtent): Likewise.
7757         (_gethtbyname2): Likewise.
7758         (_gethtbyaddr): Likewise.
7759         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7760         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7761         * resolv/res_init.c (__res_vinit): Likewise.
7762         (net_mask): Likewise.
7763         * resolv/res_mkquery.c (outchar): Likewise.
7764         (PRINT): Likewise.
7765         * stdio-common/printf_fp.c (outchar): Likewise.
7766         (PRINT): Likewise.
7767         * stdio-common/printf_fphex.c (outchar): Likewise.
7768         (PRINT): Likewise.
7769         * stdio-common/printf_size.c (outchar): Likewise.
7770         (PRINT): Likewise.
7771         * stdio-common/test_rdwr.c (main): Likewise.
7772         * stdio-common/tfformat.c (matches): Likewise.
7773         * stdio-common/vfprintf.c (outchar): Likewise.
7774         (printf_unknown): Likewise.
7775         (buffered_vfprintf): Likewise.
7776         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7777         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7778         (ReadFile): Likewise.
7779         * stdlib/qsort.c (SWAP): Likewise.
7780         (_quicksort): Likewise.
7781         * stdlib/setenv.c (__add_to_environ): Likewise.
7782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7783         * stdlib/strtol_l.c (__strtol_l): Likewise.
7784         * stdlib/tst-strtod.c (main): Likewise.
7785         * stdlib/tst-strtol.c (main): Likewise.
7786         * stdlib/tst-strtoll.c (main): Likewise.
7787         * string/bits/string2.h (__strcmp_cc): Likewise.
7788         (__strcmp_cg): Likewise.
7789         (__strcspn_c1): Likewise.
7790         (__strcspn_c2): Likewise.
7791         (__strcspn_c3): Likewise.
7792         (__strspn_c1): Likewise.
7793         (__strspn_c2): Likewise.
7794         (__strspn_c3): Likewise.
7795         (__strsep_1c): Likewise.
7796         (__strsep_2c): Likewise.
7797         (__strsep_3c): Likewise.
7798         * string/memccpy.c (__memccpy): Likewise.
7799         * string/stpcpy.c (__stpcpy): Likewise.
7800         * string/strcmp.c (strcmp): Likewise.
7801         * string/strrchr.c (strrchr): Likewise.
7802         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7803         Likewise.
7804         * sysdeps/mach/hurd/getcwd.c
7805         (_hurd_canonicalize_directory_name_internal): Likewise.
7806         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7807         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7808         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7809         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7810         Likewise, in both definitions.
7811         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7812         definitions.
7813         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7814         64] (__bswap_64): Likewise.
7815         * time/test_time.c (main): Likewise.
7816         * time/tzfile.c (__tzfile_read): Likewise.
7817         (__tzfile_compute): Likewise.
7818         * time/tzset.c (__tzset_parse_tz): Likewise.
7819         (tzset_internal): Likewise.
7820         (compute_change): Likewise.
7821         * wcsmbs/wcscat.c (__wcscat): Likewise.
7822         * wcsmbs/wcschr.c (wcschr): Likewise.
7823         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7824         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7825         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7826         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7827         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7828         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7829         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7830         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7831         * wcsmbs/wmemset.c (wmemset): Likewise.
7833 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7835         * scripts/config.guess: Update to version 2013-05-16.
7836         * scripts/config.sub: Update to version 2013-04-24.
7837         * scripts/install-sh: Update to version 2011-11-20.07.
7838         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7839         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7841 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7843         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7844         * elf/sln.c: Likewise.
7845         * hurd/hurd/ioctl.h: Likewise.
7846         * hurd/hurdmalloc.c: Likewise.
7847         * hurd/xattr.c: Likewise.
7848         * include/shlib-compat.h: Likewise.
7849         * inet/ruserpass.c: Likewise.
7850         * libio/iofgets_u.c: Likewise.
7851         * libio/iofgetws_u.c: Likewise.
7852         * locale/programs/ld-identification.c: Likewise.
7853         * locale/programs/ld-time.c: Likewise.
7854         * mach/msg-destroy.c: Likewise.
7855         * nss/nss_files/files-netgrp.c: Likewise.
7856         * resolv/res_data.c: Likewise.
7857         * soft-fp/op-1.h: Likewise.
7858         * soft-fp/op-2.h: Likewise.
7859         * soft-fp/op-4.h: Likewise.
7860         * soft-fp/op-common.h: Likewise.
7861         * stdio-common/printf_fphex.c: Likewise.
7862         * stdlib/strtod_l.c: Likewise.
7863         * sunrpc/rpc/clnt.h: Likewise.
7864         * sysdeps/generic/framestate.c: Likewise.
7865         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7866         * sysdeps/i386/bsd-setjmp.S: Likewise.
7867         * sysdeps/i386/__longjmp.S: Likewise.
7868         * sysdeps/i386/setjmp.S: Likewise.
7869         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7870         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7871         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7872         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7873         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7874         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7875         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7876         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7877         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7878         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7879         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7880         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7881         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7882         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7883         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7884         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7885         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7886         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7887         * sysdeps/ieee754/support.c: Likewise.
7888         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7889         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7890         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7891         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7892         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7893         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7894         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7895         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7896         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7897         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7898         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7899         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7900         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7901         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7902         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7903         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7904         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7907 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7909         * posix/transbug.c: Remove executable mode.
7911 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7913         * crypt/speeds.c: Remove trailing whitespace.
7914         * dlfcn/default.c: Likewise.
7915         * elf/ifuncdep2.c: Likewise.
7916         * elf/ifuncmain1.c: Likewise.
7917         * elf/ifuncmain1vis.c: Likewise.
7918         * elf/testobj.h: Likewise.
7919         * elf/tst-stackguard1.c: Likewise.
7920         * gmon/sys/gmon.h: Likewise.
7921         * hurd/hurdmsg.c: Likewise.
7922         * hurd/new-fd.c: Likewise.
7923         * hurd/ports-get.c: Likewise.
7924         * iconvdata/ibm1008_420.c: Likewise.
7925         * inet/tst-getni1.c: Likewise.
7926         * inet/tst-getni2.c: Likewise.
7927         * libio/ioungetc.c: Likewise.
7928         * libio/wfiledoalloc.c: Likewise.
7929         * manual/libm-err-tab.pl: Likewise.
7930         * math/w_dremf.c: Likewise.
7931         * misc/ftruncate.c: Likewise.
7932         * posix/bug-glob2.c: Likewise.
7933         * posix/tst-pcre.c: Likewise.
7934         * posix/wait4.c: Likewise.
7935         * resolv/README: Likewise.
7936         * resolv/res_debug.h: Likewise.
7937         * resolv/tst-inet_ntop.c: Likewise.
7938         * setjmp/bug269-setjmp.c: Likewise.
7939         * soft-fp/extended.h: Likewise.
7940         * soft-fp/op-1.h: Likewise.
7941         * soft-fp/op-2.h: Likewise.
7942         * soft-fp/op-4.h: Likewise.
7943         * soft-fp/op-8.h: Likewise.
7944         * soft-fp/testit.c: Likewise.
7945         * stdio-common/bug16.c: Likewise.
7946         * stdlib/random.c: Likewise.
7947         * sunrpc/rpcsvc/rquota.x: Likewise.
7948         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7949         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7950         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7951         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7952         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7953         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7954         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7955         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7956         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7957         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7958         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7959         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7960         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7961         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7962         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7963         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7964         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7965         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7966         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7967         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7968         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7969         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7970         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7971         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7972         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7973         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7974         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7976         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7977         * sysdeps/ieee754/s_lib_version.c: Likewise.
7978         * sysdeps/mach/hurd/check_fds.c: Likewise.
7979         * sysdeps/mach/hurd/getsockname.c: Likewise.
7980         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7981         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7982         * sysdeps/powerpc/bits/link.h: Likewise.
7983         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7984         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7985         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7986         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7987         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7988         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7989         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7990         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7991         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7992         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7993         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7994         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7995         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7996         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7997         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7998         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7999         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8000         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8001         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8002         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8003         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8004         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8005         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8006         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8007         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8008         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8009         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8010         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8011         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8012         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8013         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8014         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8015         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8016         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8017         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8018         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8019         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8020         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8021         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8022         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8023         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8024         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8025         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8026         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8027         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8028         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8029         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8030         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8031         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8032         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8033         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8034         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8035         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8036         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8037         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8038         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8039         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8040         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8041         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8042         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8043         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8044         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8045         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8046         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8047         * sysdeps/powerpc/sysdep.h: Likewise.
8048         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8049         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8050         * sysdeps/sh/dl-trampoline.S: Likewise.
8051         * sysdeps/sh/memset.S: Likewise.
8052         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8053         * sysdeps/sh/strlen.S: Likewise.
8054         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8055         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8056         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8057         * sysdeps/sparc/sparc32/rem.S: Likewise.
8058         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8059         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8060         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8061         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8062         * sysdeps/sparc/sparc32/urem.S: Likewise.
8063         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8064         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8065         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8066         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8067         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8068         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8069         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8070         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8071         * sysdeps/unix/bsd/times.c: Likewise.
8072         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8073         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8077         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8078         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8079         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8080         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8081         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8082         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8083         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8084         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8085         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8086         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8087         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8088         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8089         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8090         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8091         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8092         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8093         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8094         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8095         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8096         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8097         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8098         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8099         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8100         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8101         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8102         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8103         * sysdeps/x86_64/strcspn.S: Likewise.
8105 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8107         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8108         generated file.  Regenerate properly from gen-translit.pl.
8109         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8110         locale/C-translit.h.
8112 2013-06-05  Andreas Schwab  <schwab@suse.de>
8114         [BZ #15100]
8115         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8116         week as 6 instead of -1.
8117         * time/tst-strptime.c (day_tests): Add test case.
8119 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8121         * sysdeps/generic/math_private.h
8122         (libc_feholdexcept_setround_53bit): Replace with
8123         libc_feholdsetround_53bit.
8124         (libc_feupdateenv_53bit): Replace with
8125         libc_feresetround_53bit.
8126         (SET_RESTORE_ROUND_53BIT): Adjust.
8128 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8130         * string/test-strchrnul.c: Add copyright header.
8132         * posix/tst-getaddrinfo4.c: Increase test timeout.
8134 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8136         [BZ #15536]
8137         * math/libm-test.inc (MAX_EXP): Remove
8138         (MIN_EXP): Define.
8139         (ulp): Use MIN_EXP - MANT_DIG.
8140         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8142 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8144         * po/be.po: Revert last change.
8145         * po/zh_CN.po: Likewise.
8146         * po/header.pot: Likewise.
8148 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8150         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8151         link-libc-deps to empty as target-specific variable.
8152         * Makerules (link-libc-args): New variable.
8153         (libc-for-link): Likewise.
8154         (link-libc-deps): Likewise.
8155         (lib%.so): Depend on $(link-libc-deps).  Link with
8156         $(link-libc-args).
8157         (build-module): Link with $(link-libc-args).
8158         (build-module-asneeded): Likewise.
8159         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8160         list of objects.
8161         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8162         target-specific variable.
8163         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8164         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8165         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8166         libc.
8167         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8168         libc and ld.so.
8169         ($(objpfx)libpcprofile.so): Likewise.
8170         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8171         libc_nonshared.a.
8172         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8173         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8174         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8175         $(link-libc-deps).
8176         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8177         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8178         * login/Makefile ($(objpfx)libutil.so): Likewise.
8179         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8180         * math/Makefile ($(objpfx)libm.so): Likewise.
8181         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8182         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8183         variable instead of depending directly on libc.
8184         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8185         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8186         $(link-libc-deps).
8187         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8188         libc.
8189         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8190         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8191         ($(objpfx)libanl.so): Likewise.
8192         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8193         ld.so.
8194         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8195         $(link-libc-deps).
8196         * sysdeps/i386/fpu/Makefile: Remove file.
8197         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8198         ($(objpfx)libm.so): Remove dependency on ld.so.
8200 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8202         [BZ # 15553]
8203         * nis/yp_xdr.c (XDRMAXNAME): Define.
8204         (XDRMAXRECORD): Define.
8205         (xdr_domainname): Use XDRMAXNAME.
8206         (xdr_mapname): Likewise.
8207         (xdr_peername): Likewise.
8208         (xdr_keydat): Use XDRMAXRECORD.
8209         (xdr_valdat): Likewise.
8211 2013-05-30  Jeff Law  <law@redhat.com>
8213         [BZ #14256]
8214         * manual/errno.texi (ESTALE): Update to account for more than
8215         just NFS file systems.
8216         * sysdeps/gnu/errlist.c: Regenerated.
8218 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8220         [BZ #15465]
8221         * elf/Makefile (tests): Add tst-null-argv.
8222         (modules-names):  Add tst-null-argv-lib.
8223         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8224         (tst-null-argv-ENV): Set environment for tst-null-argv.
8225         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8226         (RTLD_PROGNAME): New macro.
8227         * elf/tst-null-argv.c: New test case.
8228         * elf/tst-null-argv-lib.c: Library for test case.
8229         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8230         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8231         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8232         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8233         * elf/dl-init.c (call_init): Likewise.
8234         (_dl_init): Likewise.
8235         * elf/dl-load.c (print_search_path): Likewise.
8236         (_dl_map_object): Likewise.
8237         * elf/dl-lookup.c (do_lookup_x): Likewise.
8238         (add_dependency): Likewise.
8239         (_dl_lookup_symbol_x): Likewise.
8240         (_dl_debug_bindings): Likewise.
8241         * elf/dl-open.c (_dl_show_scope): Likewise.
8242         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8243         * elf/dl-version.c (match_symbol): Likewise.
8244         (_dl_check_map_versions): Likewise.
8245         * elf/rtld.c (dl_main): Likewise.
8246         (print_unresolved): Use RTLD_PROGNAME.
8247         (print_missing_version): Likewise.
8248         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8249         (elf_machine_rela): Likewise.
8250         * sysdeps/powerpc/powerpc32/dl-machine.c
8251         (__process_machine_rela): Likewise.
8252         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8253         Likewise.
8254         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8255         Likewise.
8256         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8257         Likewise.
8258         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8260         Likewise.
8261         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8262         Likewise.
8263         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8265 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8267         * po/be.po: Add descriptive title.
8268         * po/zh_CN.po: Likewise.
8269         * po/header.pot: Likewise.
8271 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8273         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8274         error message.
8275         (enlarge_archive): Likewise.
8277 2013-05-28  Ben North  <ben@redfrontdoor.org>
8279         * manual/arith.texi (frexp): It is the magnitude of the return
8280         value which lies in [0.5, 1), not the return value itself.
8282 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8286 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8288         * stdio-common/bug26.c (main): Correct fscanf template.
8290         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8291         declare _dl_skip_args.
8293         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8294         Don't declare.
8296         * manual/platform.texi: Add missing @end deftypefun.
8298 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8300         [BZ #15529]
8301         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8302         bit of mantissa of 2^16382.
8303         * math/libm-test.inc (hypot_test_data): Add more tests.
8305         * math/libm-test.inc: Add drem and pow10 to list of tested
8306         functions.
8307         (pow10_test): New function.
8308         (drem_test): Likewise.
8309         (drem_test_tonearest): Likewise.
8310         (drem_test_towardzero): Likewise.
8311         (drem_test_downward): Likewise.
8312         (drem_test_upward): Likewise.
8313         (main): Call the new functions.
8315         * math/libm-test.inc (finite_test_data): Remove.
8316         (finite_test): Run tests from isfinite_test_data.
8317         (gamma_test_data): Remove.
8318         (gamma_test): Run tests from lgamma_test_data.
8319         * sysdeps/i386/fpu/libm-test-ulps: Update.
8320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8322 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8324         * manual/platform.texi: Add PowerPC PPR function set documentation.
8325         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8326         implementation.
8328 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8330         * math/libm-test.inc (MAX_EXP): Define.
8331         (ULPDIFF): Define.
8332         (ulp): New function.
8333         (check_float_internal): Use ULPDIFF.
8334         (cpow_test): Disable failing test.
8335         (check_ulp): Test ulp() implemetnation.
8336         (main): Call check_ulp before starting tests.
8338 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8340         * math/gen-libm-test.pl (generate_testfile): Do not handle
8341         START_DATA and END_DATA.
8342         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8343         END_DATA.
8344         (acos_tonearest_test_data): Likewise.
8345         (acos_towardzero_test_data): Likewise.
8346         (acos_downward_test_data): Likewise.
8347         (acos_upward_test_data): Likewise.
8348         (acosh_test_data): Likewise.
8349         (asin_test_data): Likewise.
8350         (asin_tonearest_test_data): Likewise.
8351         (asin_towardzero_test_data): Likewise.
8352         (asin_downward_test_data): Likewise.
8353         (asin_upward_test_data): Likewise.
8354         (asinh_test_data): Likewise.
8355         (atan_test_data): Likewise.
8356         (atanh_test_data): Likewise.
8357         (atan2_test_data): Likewise.
8358         (cabs_test_data): Likewise.
8359         (cacos_test_data): Likewise.
8360         (cacosh_test_data): Likewise.
8361         (carg_test_data): Likewise.
8362         (casin_test_data): Likewise.
8363         (casinh_test_data): Likewise.
8364         (catan_test_data): Likewise.
8365         (catanh_test_data): Likewise.
8366         (cbrt_test_data): Likewise.
8367         (ccos_test_data): Likewise.
8368         (ccosh_test_data): Likewise.
8369         (ceil_test_data): Likewise.
8370         (cexp_test_data): Likewise.
8371         (cimag_test_data): Likewise.
8372         (clog_test_data): Likewise.
8373         (clog10_test_data): Likewise.
8374         (conj_test_data): Likewise.
8375         (copysign_test_data): Likewise.
8376         (cos_test_data): Likewise.
8377         (cos_tonearest_test_data): Likewise.
8378         (cos_towardzero_test_data): Likewise.
8379         (cos_downward_test_data): Likewise.
8380         (cos_upward_test_data): Likewise.
8381         (cosh_test_data): Likewise.
8382         (cosh_tonearest_test_data): Likewise.
8383         (cosh_towardzero_test_data): Likewise.
8384         (cosh_downward_test_data): Likewise.
8385         (cosh_upward_test_data): Likewise.
8386         (cpow_test_data): Likewise.
8387         (cproj_test_data): Likewise.
8388         (creal_test_data): Likewise.
8389         (csin_test_data): Likewise.
8390         (csinh_test_data): Likewise.
8391         (csqrt_test_data): Likewise.
8392         (ctan_test_data): Likewise.
8393         (ctan_tonearest_test_data): Likewise.
8394         (ctan_towardzero_test_data): Likewise.
8395         (ctan_downward_test_data): Likewise.
8396         (ctan_upward_test_data): Likewise.
8397         (ctanh_test_data): Likewise.
8398         (ctanh_tonearest_test_data): Likewise.
8399         (ctanh_towardzero_test_data): Likewise.
8400         (ctanh_downward_test_data): Likewise.
8401         (ctanh_upward_test_data): Likewise.
8402         (erf_test_data): Likewise.
8403         (erfc_test_data): Likewise.
8404         (exp_test_data): Likewise.
8405         (exp_tonearest_test_data): Likewise.
8406         (exp_towardzero_test_data): Likewise.
8407         (exp_downward_test_data): Likewise.
8408         (exp_upward_test_data): Likewise.
8409         (exp10_test_data): Likewise.
8410         (exp2_test_data): Likewise.
8411         (expm1_test_data): Likewise.
8412         (fabs_test_data): Likewise.
8413         (fdim_test_data): Likewise.
8414         (finite_test_data): Likewise.
8415         (floor_test_data): Likewise.
8416         (fma_test_data): Likewise.
8417         (fma_towardzero_test_data): Likewise.
8418         (fma_downward_test_data): Likewise.
8419         (fma_upward_test_data): Likewise.
8420         (fmax_test_data): Likewise.
8421         (fmin_test_data): Likewise.
8422         (fmod_test_data): Likewise.
8423         (fpclassify_test_data): Likewise.
8424         (frexp_test_data): Likewise.
8425         (gamma_test_data): Likewise.
8426         (hypot_test_data): Likewise.
8427         (ilogb_test_data): Likewise.
8428         (isfinite_test_data): Likewise.
8429         (isgreater_test_data): Likewise.
8430         (isgreaterequal_test_data): Likewise.
8431         (isinf_test_data): Likewise.
8432         (isless_test_data): Likewise.
8433         (islessequal_test_data): Likewise.
8434         (islessgreater_test_data): Likewise.
8435         (isnan_test_data): Likewise.
8436         (isnormal_test_data): Likewise.
8437         (issignaling_test_data): Likewise.
8438         (isunordered_test_data): Likewise.
8439         (j0_test_data): Likewise.
8440         (j1_test_data): Likewise.
8441         (jn_test_data): Likewise.
8442         (ldexp_test_data): Likewise.
8443         (lgamma_test_data): Likewise.
8444         (lrint_test_data): Likewise.
8445         (lrint_tonearest_test_data): Likewise.
8446         (lrint_towardzero_test_data): Likewise.
8447         (lrint_downward_test_data): Likewise.
8448         (lrint_upward_test_data): Likewise.
8449         (llrint_test_data): Likewise.
8450         (llrint_tonearest_test_data): Likewise.
8451         (llrint_towardzero_test_data): Likewise.
8452         (llrint_downward_test_data): Likewise.
8453         (llrint_upward_test_data): Likewise.
8454         (log_test_data): Likewise.
8455         (log10_test_data): Likewise.
8456         (log1p_test_data): Likewise.
8457         (log2_test_data): Likewise.
8458         (logb_test_data): Likewise.
8459         (logb_downward_test_data): Likewise.
8460         (lround_test_data): Likewise.
8461         (llround_test_data): Likewise.
8462         (modf_test_data): Likewise.
8463         (nearbyint_test_data): Likewise.
8464         (nextafter_test_data): Likewise.
8465         (nexttoward_test_data): Likewise.
8466         (pow_test_data): Likewise.
8467         (pow_tonearest_test_data): Likewise.
8468         (pow_towardzero_test_data): Likewise.
8469         (pow_downward_test_data): Likewise.
8470         (pow_upward_test_data): Likewise.
8471         (remainder_test_data): Likewise.
8472         (remainder_tonearest_test_data): Likewise.
8473         (remainder_towardzero_test_data): Likewise.
8474         (remainder_downward_test_data): Likewise.
8475         (remainder_upward_test_data): Likewise.
8476         (remquo_test_data): Likewise.
8477         (rint_test_data): Likewise.
8478         (rint_tonearest_test_data): Likewise.
8479         (rint_towardzero_test_data): Likewise.
8480         (rint_downward_test_data): Likewise.
8481         (rint_upward_test_data): Likewise.
8482         (round_test_data): Likewise.
8483         (scalb_test_data): Likewise.
8484         (scalbn_test_data): Likewise.
8485         (scalbln_test_data): Likewise.
8486         (signbit_test_data): Likewise.
8487         (sin_test_data): Likewise.
8488         (sin_tonearest_test_data): Likewise.
8489         (sin_towardzero_test_data): Likewise.
8490         (sin_downward_test_data): Likewise.
8491         (sin_upward_test_data): Likewise.
8492         (sincos_test_data): Likewise.
8493         (sinh_test_data): Likewise.
8494         (sinh_tonearest_test_data): Likewise.
8495         (sinh_towardzero_test_data): Likewise.
8496         (sinh_downward_test_data): Likewise.
8497         (sinh_upward_test_data): Likewise.
8498         (sqrt_test_data): Likewise.
8499         (tan_test_data): Likewise.
8500         (tan_tonearest_test_data): Likewise.
8501         (tan_towardzero_test_data): Likewise.
8502         (tan_downward_test_data): Likewise.
8503         (tan_upward_test_data): Likewise.
8504         (tanh_test_data): Likewise.
8505         (tgamma_test_data): Likewise.
8506         (trunc_test_data): Likewise.
8507         (y0_test_data): Likewise.
8508         (y1_test_data): Likewise.
8509         (yn_test_data): Likewise.
8510         (significand_test_data): Likewise.
8512         * math/gen-libm-test.pl (@functions): Remove variable.
8513         (generate_testfile): Don't handle START and END lines.
8514         * math/libm-test.inc (START): New macro.
8515         (END): Likewise.
8516         (END_COMPLEX): Likewise.
8517         (acos_test): Use END macro without arguments.
8518         (acos_test_tonearest): Likewise.
8519         (acos_test_towardzero): Likewise.
8520         (acos_test_downward): Likewise.
8521         (acos_test_upward): Likewise.
8522         (acosh_test): Likewise.
8523         (asin_test): Likewise.
8524         (asin_test_tonearest): Likewise.
8525         (asin_test_towardzero): Likewise.
8526         (asin_test_downward): Likewise.
8527         (asin_test_upward): Likewise.
8528         (asinh_test): Likewise.
8529         (atan_test): Likewise.
8530         (atanh_test): Likewise.
8531         (atan2_test): Likewise.
8532         (cabs_test): Likewise.
8533         (cacos_test): Use END_COMPLEX macro without arguments.
8534         (cacosh_test): Likewise.
8535         (carg_test): Use END macro without arguments.
8536         (casin_test): Use END_COMPLEX macro without arguments.
8537         (casinh_test): Likewise.
8538         (catan_test): Likewise.
8539         (catanh_test): Likewise.
8540         (cbrt_test): Use END macro without arguments.
8541         (ccos_test): Use END_COMPLEX macro without arguments.
8542         (ccosh_test): Likewise.
8543         (ceil_test): Use END macro without arguments.
8544         (cexp_test): Use END_COMPLEX macro without arguments.
8545         (cimag_test): Use END macro without arguments.
8546         (clog_test): Use END_COMPLEX macro without arguments.
8547         (clog10_test): Likewise.
8548         (conj_test): Likewise.
8549         (copysign_test): Use END macro without arguments.
8550         (cos_test): Likewise.
8551         (cos_test_tonearest): Likewise.
8552         (cos_test_towardzero): Likewise.
8553         (cos_test_downward): Likewise.
8554         (cos_test_upward): Likewise.
8555         (cosh_test): Likewise.
8556         (cosh_test_tonearest): Likewise.
8557         (cosh_test_towardzero): Likewise.
8558         (cosh_test_downward): Likewise.
8559         (cosh_test_upward): Likewise.
8560         (cpow_test): Use END_COMPLEX macro without arguments.
8561         (cproj_test): Likewise.
8562         (creal_test): Use END macro without arguments.
8563         (csin_test): Use END_COMPLEX macro without arguments.
8564         (csinh_test): Likewise.
8565         (csqrt_test): Likewise.
8566         (ctan_test): Likewise.
8567         (ctan_test_tonearest): Likewise.
8568         (ctan_test_towardzero): Likewise.
8569         (ctan_test_downward): Likewise.
8570         (ctan_test_upward): Likewise.
8571         (ctanh_test): Likewise.
8572         (ctanh_test_tonearest): Likewise.
8573         (ctanh_test_towardzero): Likewise.
8574         (ctanh_test_downward): Likewise.
8575         (ctanh_test_upward): Likewise.
8576         (erf_test): Use END macro without arguments.
8577         (erfc_test): Likewise.
8578         (exp_test): Likewise.
8579         (exp_test_tonearest): Likewise.
8580         (exp_test_towardzero): Likewise.
8581         (exp_test_downward): Likewise.
8582         (exp_test_upward): Likewise.
8583         (exp10_test): Likewise.
8584         (exp2_test): Likewise.
8585         (expm1_test): Likewise.
8586         (fabs_test): Likewise.
8587         (fdim_test): Likewise.
8588         (finite_test): Likewise.
8589         (floor_test): Likewise.
8590         (fma_test): Likewise.
8591         (fma_test_towardzero): Likewise.
8592         (fma_test_downward): Likewise.
8593         (fma_test_upward): Likewise.
8594         (fmax_test): Likewise.
8595         (fmin_test): Likewise.
8596         (fmod_test): Likewise.
8597         (fpclassify_test): Likewise.
8598         (frexp_test): Likewise.
8599         (gamma_test): Likewise.
8600         (hypot_test): Likewise.
8601         (ilogb_test): Likewise.
8602         (isfinite_test): Likewise.
8603         (isgreater_test): Likewise.
8604         (isgreaterequal_test): Likewise.
8605         (isinf_test): Likewise.
8606         (isless_test): Likewise.
8607         (islessequal_test): Likewise.
8608         (islessgreater_test): Likewise.
8609         (isnan_test): Likewise.
8610         (isnormal_test): Likewise.
8611         (issignaling_test): Likewise.
8612         (isunordered_test): Likewise.
8613         (j0_test): Likewise.
8614         (j1_test): Likewise.
8615         (jn_test): Likewise.
8616         (ldexp_test): Likewise.
8617         (lgamma_test): Likewise.
8618         (lrint_test): Likewise.
8619         (lrint_test_tonearest): Likewise.
8620         (lrint_test_towardzero): Likewise.
8621         (lrint_test_downward): Likewise.
8622         (lrint_test_upward): Likewise.
8623         (llrint_test): Likewise.
8624         (llrint_test_tonearest): Likewise.
8625         (llrint_test_towardzero): Likewise.
8626         (llrint_test_downward): Likewise.
8627         (llrint_test_upward): Likewise.
8628         (log_test): Likewise.
8629         (log10_test): Likewise.
8630         (log1p_test): Likewise.
8631         (log2_test): Likewise.
8632         (logb_test): Likewise.
8633         (logb_test_downward): Likewise.
8634         (lround_test): Likewise.
8635         (llround_test): Likewise.
8636         (modf_test): Likewise.
8637         (nearbyint_test): Likewise.
8638         (nextafter_test): Likewise.
8639         (nexttoward_test): Likewise.
8640         (pow_test): Likewise.
8641         (pow_test_tonearest): Likewise.
8642         (pow_test_towardzero): Likewise.
8643         (pow_test_downward): Likewise.
8644         (pow_test_upward): Likewise.
8645         (remainder_test): Likewise.
8646         (remainder_test_tonearest): Likewise.
8647         (remainder_test_towardzero): Likewise.
8648         (remainder_test_downward): Likewise.
8649         (remainder_test_upward): Likewise.
8650         (remquo_test): Likewise.
8651         (rint_test): Likewise.
8652         (rint_test_tonearest): Likewise.
8653         (rint_test_towardzero): Likewise.
8654         (rint_test_downward): Likewise.
8655         (rint_test_upward): Likewise.
8656         (round_test): Likewise.
8657         (scalb_test): Likewise.
8658         (scalbn_test): Likewise.
8659         (scalbln_test): Likewise.
8660         (signbit_test): Likewise.
8661         (sin_test): Likewise.
8662         (sin_test_tonearest): Likewise.
8663         (sin_test_towardzero): Likewise.
8664         (sin_test_downward): Likewise.
8665         (sin_test_upward): Likewise.
8666         (sincos_test): Likewise.
8667         (sinh_test): Likewise.
8668         (sinh_test_tonearest): Likewise.
8669         (sinh_test_towardzero): Likewise.
8670         (sinh_test_downward): Likewise.
8671         (sinh_test_upward): Likewise.
8672         (sqrt_test): Likewise.
8673         (tan_test): Likewise.
8674         (tan_test_tonearest): Likewise.
8675         (tan_test_towardzero): Likewise.
8676         (tan_test_downward): Likewise.
8677         (tan_test_upward): Likewise.
8678         (tanh_test): Likewise.
8679         (tgamma_test): Likewise.
8680         (trunc_test): Likewise.
8681         (y0_test): Likewise.
8682         (y1_test): Likewise.
8683         (yn_test): Likewise.
8684         (significand_test): Likewise.
8686 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8688         [BZ #15381]
8689         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8691 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8693         [BZ #14894]
8694         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8695         __ppc_mdoio and __ppc_mdoom.
8696         * manual/platform.texi: Document new functions __ppc_yield,
8697         __ppc_mdoio and __ppc_mdoom.
8699 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8701         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8702         (main): Mention "tls" pseudo-hwcap is legacy.
8703         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8705 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8707         * math/gen-libm-test.pl (parse_args): Output only string of
8708         arguments as text for test name, not full call or descriptions of
8709         tests for extra outputs.
8710         (generate_testfile): Do not pass function name to parse_args.
8711         Generate this_func variable from START.
8712         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8713         field to arg_str.
8714         (struct test_ff_f_data): Likewise.
8715         (test_ff_f_data_nexttoward): Likewise.
8716         (struct test_fi_f_data): Likewise.
8717         (struct test_fl_f_data): Likewise.
8718         (struct test_if_f_data): Likewise.
8719         (struct test_fff_f_data): Likewise.
8720         (struct test_c_f_data): Likewise.
8721         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8722         (struct test_fF_f1_data): Likewise.
8723         (struct test_ffI_f1_data): Likewise.
8724         (struct test_c_c_data): Rename test_name field to arg_str.
8725         (struct test_cc_c_data): Likewise.
8726         (struct test_f_i_data): Likewise.
8727         (struct test_ff_i_data): Likewise.
8728         (struct test_f_l_data): Likewise.
8729         (struct test_f_L_data): Likewise.
8730         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8731         and extra2_name.
8732         (COMMON_TEST_SETUP): New macro.
8733         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8734         (COMMON_TEST_CLEANUP): Likewise.
8735         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8736         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8737         macros.
8738         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8739         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8740         macros.
8741         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8742         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8743         cleanup macros.
8744         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8745         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8746         macros.
8747         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8748         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8749         macros.
8750         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8751         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8752         cleanup macros.
8753         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8754         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8755         cleanup macros.
8756         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8757         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8758         cleanup macros.
8759         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8760         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8761         macros.
8762         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8763         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8764         macros.
8765         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8766         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8767         macros.
8768         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8769         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8770         cleanup macros.
8771         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8772         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8773         cleanup macros.
8774         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8775         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8776         macros.
8777         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8778         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8779         cleanup macros.
8780         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8781         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8782         macros.
8783         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8784         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8785         macros.
8786         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8787         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8788         cleanup macros.
8789         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8791 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8793         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8794         to _sifields.sigfault.
8795         (si_addr_lsb): Define new macro.
8796         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8797         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8798         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8800 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8802         [BZ #15441]
8803         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8804         returns -1.
8805         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8806         null return -1.
8807         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8808         loading the domain.
8810 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8812         * math/gen-libm-test.pl (parse_args): Do not include expected
8813         result in test name.
8814         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8815         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8816         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8817         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8818         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8821 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8823         * benchtests/Makefile: Sort function entries.
8825         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8826         tanh, asinh, acosh, atanh.
8827         * benchtests/acos-inputs: New file.
8828         * benchtests/acosh-inputs: New file.
8829         * benchtests/asin-inputs: New file.
8830         * benchtests/asinh-inputs: New file.
8831         * benchtests/atanh-inputs: New file.
8832         * benchtests/cosh-inputs: New file.
8833         * benchtests/log-inputs: New file.
8834         * benchtests/sinh-inputs: New file.
8835         * benchtests/tanh-inputs: New file.
8837 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8839         [BZ #15339]
8840         * posix/tst-getaddrinfo4.c: New test.
8841         * posix/Makefile (tests): Add it.
8843 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8845         [BZ #15339]
8846         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8847         when no services were used.
8848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8849         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8851 2013-05-21  Andreas Schwab  <schwab@suse.de>
8853         [BZ #15014]
8854         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8855         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8856         successful.
8857         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8858         redundant variable declarations and reallocation of buffer when
8859         parsing as IPv6 address.  Always set NSS status when called from
8860         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8861         buffer too small.  Correct computation of needed size.
8862         * nss/Makefile (tests): Add test-digits-dots.
8863         * nss/test-digits-dots.c: New test.
8865 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8867         * benchtests/Makefile: Remove instructions for adding
8868         benchmark tests.
8869         * benchtests/README: New file to explain how to execute and
8870         enhance the benchmark tests.
8872 2013-05-21  Andreas Schwab  <schwab@suse.de>
8874         [BZ #15493]
8875         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8876         * setjmp/tst-sigsetjmp.c: New test.
8878 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8880         * sysdeps/x86_64/memset.S (memset): New implementation.
8881         (__bzero): Likewise.
8882         (__memset_tail): New function.
8884 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8886         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8887         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8888         __memcpy_sse2_unaligned ifunc selection.
8889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8890         Add memcpy-sse2-unaligned.S.
8891         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8892         Add: __memcpy_sse2_unaligned.
8894 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8896         [BZ #15490]
8897         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8898         math_force_eval before restoring floating-point envrionment.
8899         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8901         Likewise.
8902         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8903         <math_private.h>.
8904         (__nearbyintl): Use math_force_eval before restoring
8905         floating-point environment.
8906         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8908         * math/gen-libm-test.pl (special_functions): Remove.
8909         (parse_args): Don't handle TEST_extra.  Handle functions with no
8910         return value.
8911         * math/libm-test.inc (struct test_sincos_data): Replace with
8912         struct test_fFF_11_data.
8913         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8914         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8915         (sincos_test_data): Change element type to struct
8916         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8917         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8918         RUN_TEST_LOOP_sincos.
8919         * math/README.libm-test: Don't mention special handling of
8920         individual functions.
8921         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8922         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8923         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8924         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8925         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8928         * math/gen-libm-test.pl (get_variable): Remove function.
8929         (parse_args): Don't show pointer parameters to call in test
8930         names.  Use "extra output N" in test names for extra outputs
8931         rather than naming variables.
8933 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8935         [BZ #15488]
8936         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8937         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8938         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8939         double tests.
8940         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8941         disable.
8942         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8943         check_long_double.
8945         * math/gen-libm-test.pl (@tests): Remove variable.
8946         ($count): Likewise.
8947         (new_test): Remove function.
8948         (show_exceptions): New function.
8949         (special_functions): Use show_exceptions instead of new_test.
8950         (parse_args): Likewise.
8951         (generate_testfile): Pass only function name in generated call to
8952         print_max_error or print_complex_max_error.
8953         (get_ulps): Do not handle complex tests specially.
8954         (output_test): Rename to ...
8955         (get_all_ulps_for_test): ... this.  Return a string rather than
8956         printing to a file.  Require ulps to be present.
8957         (output_ulps): Generate arrays rather than #defines.
8958         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8959         (struct ulp_data): New type.
8960         (BUILD_COMPLEX_ULP): Remove macro.
8961         (compare_ulp_data): New function.
8962         (find_ulps): Likewise.
8963         (find_test_ulps): Likewise.
8964         (find_function_ulps): Likewise.
8965         (find_complex_function_ulps): Likewise.
8966         (print_max_error): Determine allowed ulps using
8967         find_function_ulps.
8968         (print_complex_max_error): Determine allowed ulps using
8969         find_complex_function_ulps.
8970         (check_float_internal): Determine max ulps using find_test_ulps.
8971         (check_float): Do not take max_ulp parameter.  Update call to
8972         check_float_internal.
8973         (check_complex): Likewise.
8974         (check_int): Do not take max_ulp parameter.
8975         (check_long): Likewise.
8976         (check_bool): Likewise.
8977         (check_longlong): Likewise.
8978         (struct test_f_f_data): Remove max_ulp field.
8979         (struct test_ff_f_data): Likewise.
8980         (struct test_ff_f_data_nexttoward): Likewise.
8981         (struct test_fi_f_data): Likewise.
8982         (struct test_fl_f_data): Likewise.
8983         (struct test_if_f_data): Likewise.
8984         (struct test_fff_f_data): Likewise.
8985         (struct test_c_f_data): Likewise.
8986         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8987         (struct test_fF_f1_data): Likewise.
8988         (struct test_ffI_f1_data): Likewise.
8989         (struct test_c_c_data): Remove max_ulp field.
8990         (struct test_cc_c_data): Likewise.
8991         (struct test_f_i_data): Likewise.
8992         (struct test_ff_i_data): Likewise.
8993         (struct test_f_l_data): Likewise.
8994         (struct test_f_L_data): Likewise.
8995         (struct test_sincos_data): Likewise.
8996         (RUN_TEST_f_f): Do not handle ulps.
8997         (RUN_TEST_LOOP_f_f): Likewise.
8998         (RUN_TEST_2_f): Likewise.
8999         (RUN_TEST_LOOP_2_f): Likewise.
9000         (RUN_TEST_fff_f): Likewise.
9001         (RUN_TEST_LOOP_fff_f): Likewise.
9002         (RUN_TEST_c_f): Likewise.
9003         (RUN_TEST_LOOP_c_f): Likewise.
9004         (RUN_TEST_f_f1): Likewise.
9005         (RUN_TEST_LOOP_f_f1): Likewise.
9006         (RUN_TEST_fF_f1): Likewise.
9007         (RUN_TEST_LOOP_fF_f1): Likewise.
9008         (RUN_TEST_fI_f1): Likewise.
9009         (RUN_TEST_LOOP_fI_f1): Likewise.
9010         (RUN_TEST_ffI_f1): Likewise.
9011         (RUN_TEST_LOOP_ffI_f1): Likewise.
9012         (RUN_TEST_c_c): Likewise.
9013         (RUN_TEST_LOOP_c_c): Likewise.
9014         (RUN_TEST_cc_c): Likewise.
9015         (RUN_TEST_LOOP_cc_c): Likewise.
9016         (RUN_TEST_f_i): Likewise.
9017         (RUN_TEST_LOOP_f_i): Likewise.
9018         (RUN_TEST_f_i_tg): Likewise.
9019         (RUN_TEST_LOOP_f_i_tg): Likewise.
9020         (RUN_TEST_ff_i_tg): Likewise.
9021         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9022         (RUN_TEST_f_b): Likewise.
9023         (RUN_TEST_LOOP_f_b): Likewise.
9024         (RUN_TEST_f_b_tg): Likewise.
9025         (RUN_TEST_LOOP_f_b_tg): Likewise.
9026         (RUN_TEST_f_l): Likewise.
9027         (RUN_TEST_LOOP_f_l): Likewise.
9028         (RUN_TEST_f_L): Likewise.
9029         (RUN_TEST_LOOP_f_L): Likewise.
9030         (RUN_TEST_sincos): Likewise.
9031         (RUN_TEST_LOOP_sincos): Likewise.
9033 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9035         [BZ #15480]
9036         [BZ #15485]
9037         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9038         main case of finite arguments, set rounding mode to FE_TONEAREST
9039         and discard exceptions.
9040         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9041         exceptions.
9042         (remainder_tonearest_test_data): New variable.
9043         (remainder_test_tonearest): New function.
9044         (remainder_towardzero_test_data): New variable.
9045         (remainder_test_towardzero): New function.
9046         (remainder_downward_test_data): New variable.
9047         (remainder_test_downward): New function.
9048         (remainder_upward_test_data): New variable.
9049         (remainder_test_upward): New function.
9050         (main): Call the new test functions.
9052         * math/libm-test.inc (struct test_f_f1_data): Remove field
9053         extra_init.
9054         (struct test_fF_f1_data): Likewise.
9055         (struct test_ffI_f1_data): Likewise.
9056         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9057         based on value of EXTRA_EXPECTED.
9058         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9059         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9060         EXTRA_VAR based on value of EXTRA_EXPECTED.
9061         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9062         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9063         EXTRA_VAR based on value of EXTRA_EXPECTED.
9064         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9065         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9066         EXTRA_VAR based on value of EXTRA_EXPECTED.
9067         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9068         * math/gen-libm-test.pl (parse_args): Don't output initializers
9069         for extra output values.
9071         * math/libm-test.inc (check_int): Expect result to be exactly
9072         equal to expected value and do not handle ulps.
9073         (check_long): Likewise.
9074         (check_longlong): Likewise.
9076         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9077         exceptions.
9078         (cimag_test_data): Likewise.
9079         (conj_test_data): Likewise.
9080         (copysign_test_data): Likewise.
9081         (cproj_test_data): Likewise.
9082         (creal_test_data): Likewise.
9083         (fabs_test_data): Likewise.
9084         (fdim_test_data): Likewise.
9085         (finite_test_data): Likewise.
9086         (floor_test_data): Likewise.
9087         (fmax_test_data): Likewise.
9088         (fmin_test_data): Likewise.
9089         (fmod_test_data): Likewise.
9090         (fpclassify_test_data): Likewise.
9091         (frexp_test_data): Likewise.
9092         (ilogb_test_data): Likewise.
9093         (isfinite_test_data): Likewise.
9094         (isgreater_test_data): Likewise.
9095         (isgreaterequal_test_data): Likewise.
9096         (isinf_test_data): Likewise.
9097         (isless_test_data): Likewise.
9098         (islessequal_test_data): Likewise.
9099         (islessgreater_test_data): Likewise.
9100         (isnan_test_data): Likewise.
9101         (isnormal_test_data): Likewise.
9102         (issignaling_test_data): Likewise.
9103         (isunordered_test_data): Likewise.
9104         (ldexp_test_data): Likewise.
9105         (lrint_test_data): Likewise.
9106         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9107         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9108         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9109         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9110         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9111         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9112         test input.
9113         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9114         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9115         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9116         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9117         that test input.
9118         (lrint_downward_test_data): Test for "inexact" exceptions.
9119         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9120         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9121         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9122         test input.
9123         (lrint_upward_test_data): Test for "inexact" exceptions.
9124         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9125         test input.
9126         (llrint_test_data): Test for "inexact" exceptions.
9127         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9128         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9129         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9130         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9131         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9132         (llrint_downward_test_data): Test for "inexact" exceptions.
9133         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9134         (llrint_upward_test_data): Test for "inexact" exceptions.
9135         (logb_test_data): Likewise.
9136         (logb_downward_test_data): Likewise.
9137         (nextafter_test_data): Likewise.
9138         (nexttoward_test_data): Likewise.
9139         (remainder_test_data): Likewise.
9140         (remquo_test_data): Likewise.
9141         (scalbn_test_data): Likewise.
9142         (scalbln_test_data): Likewise.
9143         (signbit_test_data): Likewise.
9144         (sqrt_test_data): Likewise.
9145         (significand_test_data): Likewise.
9147 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9149         [BZ #15424]
9150         * benchtests/bench-modf.c (struct args): Mark arg0 as
9151         volatile.
9152         * scripts/bench.pl: Mark members of struct args as volatile.
9154 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9156         [BZ # 15497]
9157         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9158         negative infinity on POWER6 or lower.
9159         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9161 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9163         [BZ #15442]
9164         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9165         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9166         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9167         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9168         (_FP_SETQNAN): New macro.
9169         (_FP_SETQNAN_SEMIRAW): Likewise.
9170         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9171         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9172         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9173         (FP_EXTEND): Use _FP_FRAC_SNANP.
9174         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9175         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9176         into account.
9177         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9178         New macro.
9179         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9180         Likewise.
9182 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9184         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9185         with DIVIDE_BY_ZERO_EXCEPTION.
9186         (gamma_test_data): Likewise.
9187         (lgamma_test_data): Likewise.
9188         (log_test_data): Likewise.
9189         (log10_test_data): Likewise.
9190         (log2_test_data): Likewise.
9191         (tgamma_test_data): Likewise.
9193         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9194         (acos_test_tonearest): Likewise.
9195         (acos_test_towardzero): Likewise.
9196         (acos_test_downward): Likewise.
9197         (acos_test_upward): Likewise.
9198         (acosh_test): Likewise.
9199         (asin_test): Likewise.
9200         (asin_test_tonearest): Likewise.
9201         (asin_test_towardzero): Likewise.
9202         (asin_test_downward): Likewise.
9203         (asin_test_upward): Likewise.
9204         (asinh_test): Likewise.
9205         (atan_test): Likewise.
9206         (atanh_test): Likewise.
9207         (atan2_test): Likewise.
9208         (cabs_test): Likewise.
9209         (cacos_test): Likewise.
9210         (cacosh_test): Likewise.
9211         (casin_test): Likewise.
9212         (casinh_test): Likewise.
9213         (catan_test): Likewise.
9214         (catanh_test): Likewise.
9215         (cbrt_test): Likewise.
9216         (ccos_test): Likewise.
9217         (ccosh_test): Likewise.
9218         (cexp_test): Likewise.
9219         (clog_test): Likewise.
9220         (clog10_test): Likewise.
9221         (cos_test): Likewise.
9222         (cos_test_tonearest): Likewise.
9223         (cos_test_towardzero): Likewise.
9224         (cos_test_downward): Likewise.
9225         (cos_test_upward): Likewise.
9226         (cosh_test): Likewise.
9227         (cosh_test_tonearest): Likewise.
9228         (cosh_test_towardzero): Likewise.
9229         (cosh_test_downward): Likewise.
9230         (cosh_test_upward): Likewise.
9231         (cpow_test): Likewise.
9232         (csin_test): Likewise.
9233         (csinh_test): Likewise.
9234         (csqrt_test): Likewise.
9235         (ctan_test): Likewise.
9236         (ctan_test_tonearest): Likewise.
9237         (ctan_test_towardzero): Likewise.
9238         (ctan_test_downward): Likewise.
9239         (ctan_test_upward): Likewise.
9240         (ctanh_test): Likewise.
9241         (ctanh_test_tonearest): Likewise.
9242         (ctanh_test_towardzero): Likewise.
9243         (ctanh_test_downward): Likewise.
9244         (ctanh_test_upward): Likewise.
9245         (erf_test): Likewise.
9246         (erfc_test): Likewise.
9247         (exp_test): Likewise.
9248         (exp_test_tonearest): Likewise.
9249         (exp_test_towardzero): Likewise.
9250         (exp_test_downward): Likewise.
9251         (exp_test_upward): Likewise.
9252         (exp10_test): Likewise.
9253         (exp2_test): Likewise.
9254         (expm1_test): Likewise.
9255         (fmod_test): Likewise.
9256         (gamma_test): Likewise.
9257         (hypot_test): Likewise.
9258         (j0_test): Likewise.
9259         (j1_test): Likewise.
9260         (jn_test): Likewise.
9261         (lgamma_test): Likewise.
9262         (log_test): Likewise.
9263         (log10_test): Likewise.
9264         (log1p_test): Likewise.
9265         (log2_test): Likewise.
9266         (logb_test_downward): Likewise.
9267         (pow_test): Likewise.
9268         (pow_test_tonearest): Likewise.
9269         (pow_test_towardzero): Likewise.
9270         (pow_test_downward): Likewise.
9271         (pow_test_upward): Likewise.
9272         (remainder_test): Likewise.
9273         (remquo_test): Likewise.
9274         (sin_test): Likewise.
9275         (sin_test_tonearest): Likewise.
9276         (sin_test_towardzero): Likewise.
9277         (sin_test_downward): Likewise.
9278         (sin_test_upward): Likewise.
9279         (sincos_test): Likewise.
9280         (sinh_test): Likewise.
9281         (sinh_test_tonearest): Likewise.
9282         (sinh_test_towardzero): Likewise.
9283         (sinh_test_downward): Likewise.
9284         (sinh_test_upward): Likewise.
9285         (sqrt_test): Likewise.
9286         (tan_test): Likewise.
9287         (tan_test_tonearest): Likewise.
9288         (tan_test_towardzero): Likewise.
9289         (tan_test_downward): Likewise.
9290         (tan_test_upward): Likewise.
9291         (tanh_test): Likewise.
9292         (tgamma_test): Likewise.
9293         (y0_test): Likewise.
9294         (y1_test): Likewise.
9295         (yn_test): Likewise.
9297         * math/gen-libm-test.pl (adjust_arg): Remove function.
9298         (special_function): Remove argument $in_func.  Only handle
9299         generating output for tables of tests, not inside functions.
9300         (parse_args): Likewise.
9301         (generate_testfile): Remove variable $in_func.  Update call to
9302         parse_args.
9303         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9304         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9305         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9306         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9307         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9308         (MAX_VALUE_INIT): Rename macro to max_value.
9309         (MIN_VALUE_INIT): Rename macro to min_value.
9310         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9311         (plus_zero): Remove variable.
9312         (minus_zero): Likewise.
9313         (plus_infty): Likewise.
9314         (minus_infty): Likewise.
9315         (qnan_value): Likewise.
9316         (max_value): Likewise.
9317         (min_value): Likewise.
9318         (min_subnorm_value): Likewise.
9320 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9322         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9323         uint64_t or uint32_t usage.
9324         * crypt/sha256-block.c: Likewise.
9325         * crypt/sha256-crypt.c: Likewise.
9326         * crypt/sha256.c: Likewise.
9327         * crypt/sha512-block.c: Likewise.
9328         * crypt/sha512-crypt.c: Likewise.
9329         * crypt/sha512.c: Likewise.
9330         * debug/backtrace-tst.c: Likewise.
9331         * debug/pcprofiledump.c: Likewise.
9332         * elf/cache.c: Likewise.
9333         * elf/dl-cache.c: Likewise.
9334         * elf/dl-misc.c: Likewise.
9335         * elf/dl-profile.c: Likewise.
9336         * elf/dl-support.c: Likewise.
9337         * elf/ldconfig.c: Likewise.
9338         * elf/sprof.c: Likewise.
9339         * iconv/dummy-repertoire.c: Likewise.
9340         * iconv/iconv_charmap.c: Likewise.
9341         * iconv/skeleton.c: Likewise.
9342         * iconvdata/8bit-generic.c: Likewise.
9343         * iconvdata/cp737.h: Likewise.
9344         * iconvdata/cp775.h: Likewise.
9345         * iconvdata/ibm1008.h: Likewise.
9346         * iconvdata/ibm1025.h: Likewise.
9347         * iconvdata/ibm1046.h: Likewise.
9348         * iconvdata/ibm1097.h: Likewise.
9349         * iconvdata/ibm1112.h: Likewise.
9350         * iconvdata/ibm1122.h: Likewise.
9351         * iconvdata/ibm1123.h: Likewise.
9352         * iconvdata/ibm1124.h: Likewise.
9353         * iconvdata/ibm1129.h: Likewise.
9354         * iconvdata/ibm1130.h: Likewise.
9355         * iconvdata/ibm1132.h: Likewise.
9356         * iconvdata/ibm1133.h: Likewise.
9357         * iconvdata/ibm1137.h: Likewise.
9358         * iconvdata/ibm1140.h: Likewise.
9359         * iconvdata/ibm1141.h: Likewise.
9360         * iconvdata/ibm1142.h: Likewise.
9361         * iconvdata/ibm1143.h: Likewise.
9362         * iconvdata/ibm1144.h: Likewise.
9363         * iconvdata/ibm1145.h: Likewise.
9364         * iconvdata/ibm1146.h: Likewise.
9365         * iconvdata/ibm1147.h: Likewise.
9366         * iconvdata/ibm1148.h: Likewise.
9367         * iconvdata/ibm1149.h: Likewise.
9368         * iconvdata/ibm1153.h: Likewise.
9369         * iconvdata/ibm1154.h: Likewise.
9370         * iconvdata/ibm1155.h: Likewise.
9371         * iconvdata/ibm1156.h: Likewise.
9372         * iconvdata/ibm1157.h: Likewise.
9373         * iconvdata/ibm1158.h: Likewise.
9374         * iconvdata/ibm1160.h: Likewise.
9375         * iconvdata/ibm1161.h: Likewise.
9376         * iconvdata/ibm1162.h: Likewise.
9377         * iconvdata/ibm1163.h: Likewise.
9378         * iconvdata/ibm1164.h: Likewise.
9379         * iconvdata/ibm1166.h: Likewise.
9380         * iconvdata/ibm1167.h: Likewise.
9381         * iconvdata/ibm12712.h: Likewise.
9382         * iconvdata/ibm1390.h: Likewise.
9383         * iconvdata/ibm1399.h: Likewise.
9384         * iconvdata/ibm16804.h: Likewise.
9385         * iconvdata/ibm4517.h: Likewise.
9386         * iconvdata/ibm4899.h: Likewise.
9387         * iconvdata/ibm4909.h: Likewise.
9388         * iconvdata/ibm4971.h: Likewise.
9389         * iconvdata/ibm5347.h: Likewise.
9390         * iconvdata/ibm803.h: Likewise.
9391         * iconvdata/ibm856.h: Likewise.
9392         * iconvdata/ibm901.h: Likewise.
9393         * iconvdata/ibm902.h: Likewise.
9394         * iconvdata/ibm9030.h: Likewise.
9395         * iconvdata/ibm9066.h: Likewise.
9396         * iconvdata/ibm921.h: Likewise.
9397         * iconvdata/ibm922.h: Likewise.
9398         * iconvdata/ibm9448.h: Likewise.
9399         * iconvdata/isiri-3342.h: Likewise.
9400         * iconvdata/jis0201.h: Likewise.
9401         * include/link.h: Likewise.
9402         * include/netdb.h: Likewise.
9403         * inet/check_native.c: Likewise.
9404         * inet/check_pf.c: Likewise.
9405         * inet/getipv4sourcefilter.c: Likewise.
9406         * inet/getnameinfo.c: Likewise.
9407         * inet/getsourcefilter.c: Likewise.
9408         * inet/htonl.c: Likewise.
9409         * inet/setipv4sourcefilter.c: Likewise.
9410         * inet/setsourcefilter.c: Likewise.
9411         * inet/test-inet6_opt.c: Likewise.
9412         * inet/tst-network.c: Likewise.
9413         * locale/C-collate.c: Likewise.
9414         * locale/C-ctype.c: Likewise.
9415         * locale/C-time.c: Likewise.
9416         * locale/C-translit.h: Likewise.
9417         * locale/loadarchive.c: Likewise.
9418         * locale/programs/3level.h: Likewise.
9419         * locale/programs/charmap.c: Likewise.
9420         * locale/programs/charmap.h: Likewise.
9421         * locale/programs/ld-address.c: Likewise.
9422         * locale/programs/ld-collate.c: Likewise.
9423         * locale/programs/ld-ctype.c: Likewise.
9424         * locale/programs/ld-identification.c: Likewise.
9425         * locale/programs/ld-measurement.c: Likewise.
9426         * locale/programs/ld-messages.c: Likewise.
9427         * locale/programs/ld-monetary.c: Likewise.
9428         * locale/programs/ld-name.c: Likewise.
9429         * locale/programs/ld-numeric.c: Likewise.
9430         * locale/programs/ld-paper.c: Likewise.
9431         * locale/programs/ld-telephone.c: Likewise.
9432         * locale/programs/ld-time.c: Likewise.
9433         * locale/programs/linereader.c: Likewise.
9434         * locale/programs/locale.c: Likewise.
9435         * locale/programs/locarchive.c: Likewise.
9436         * locale/programs/locfile.h: Likewise.
9437         * locale/programs/repertoire.c: Likewise.
9438         * locale/programs/simple-hash.c: Likewise.
9439         * locale/programs/simple-hash.h: Likewise.
9440         * malloc/memusage.c: Likewise.
9441         * malloc/memusagestat.c: Likewise.
9442         * nis/nis_defaults.c: Likewise.
9443         * nis/nis_hash.c: Likewise.
9444         * nis/nis_print.c: Likewise.
9445         * nis/nis_xdr.c: Likewise.
9446         * nscd/connections.c: Likewise.
9447         * nscd/hstcache.c: Likewise.
9448         * nscd/nscd_gethst_r.c: Likewise.
9449         * nscd/nscd_getserv_r.c: Likewise.
9450         * nscd/nscd_helper.c: Likewise.
9451         * nscd/servicescache.c: Likewise.
9452         * nss/makedb.c: Likewise.
9453         * nss/nss_db/db-XXX.c: Likewise.
9454         * nss/nss_db/db-initgroups.c: Likewise.
9455         * nss/nss_db/db-netgrp.c: Likewise.
9456         * nss/nss_files/files-network.c: Likewise.
9457         * nss/nss_files/files-parse.c: Likewise.
9458         * posix/bug-regex5.c: Likewise.
9459         * posix/fnmatch_loop.c: Likewise.
9460         * posix/regcomp.c: Likewise.
9461         * posix/regexec.c: Likewise.
9462         * posix/tst-rfc3484-2.c: Likewise.
9463         * posix/tst-rfc3484-3.c: Likewise.
9464         * posix/tst-rfc3484.c: Likewise.
9465         * resolv/nss_dns/dns-canon.c: Likewise.
9466         * resolv/nss_dns/dns-network.c: Likewise.
9467         * resolv/res_init.c: Likewise.
9468         * resolv/res_mkquery.c: Likewise.
9469         * resolv/tst-aton.c: Likewise.
9470         * stdlib/cxa_atexit.c: Likewise.
9471         * stdlib/cxa_finalize.c: Likewise.
9472         * stdlib/gen-fpioconst.c: Likewise.
9473         * stdlib/strtol_l.c: Likewise.
9474         * string/tst-endian.c: Likewise.
9475         * sunrpc/auth_des.c: Likewise.
9476         * sunrpc/clnt_udp.c: Likewise.
9477         * sunrpc/rtime.c: Likewise.
9478         * sunrpc/svcauth_des.c: Likewise.
9479         * sunrpc/xdr.c: Likewise.
9480         * sunrpc/xdr_intXX_t.c: Likewise.
9481         * sunrpc/xdr_rec.c: Likewise.
9482         * sysdeps/generic/ldconfig.h: Likewise.
9483         * sysdeps/generic/ldsodefs.h: Likewise.
9484         * sysdeps/generic/memusage.h: Likewise.
9485         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9486         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9487         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9488         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9489         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9491         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9492         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9493         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9494         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9495         * sysdeps/posix/getaddrinfo.c: Likewise.
9496         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9497         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9498         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9499         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9500         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9501         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9502         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9503         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9504         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9505         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9506         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9507         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9508         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9509         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9510         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9511         * sysdeps/x86_64/dl-tls.h: Likewise.
9512         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9513         * time/alt_digit.c: Likewise.
9514         * time/era.c: Likewise.
9515         * wcsmbs/tst-c16c32-1.c: Likewise.
9517 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9519         * math/libm-test.inc (struct test_sincos_data): New type.
9520         (RUN_TEST_LOOP_sincos): New macro.
9521         (sincos_test_data): New variable.
9522         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9524 2013-05-16  Richard Henderson  <rth@redhat.com>
9526         * math/atest-exp2.c (LIMB64): New macro.
9527         (CONSTSZ): New macro.
9528         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9529         (hexdig): Move ...
9530         (print_mpn_fp): ... to function scope.
9531         (read_mpn_hex): Remove.
9532         (get_log2): Remove.
9533         (exp2_mpn): Use mp_log2.
9534         (main): Use mp_exp1.
9536 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9538         * math/libm-test.inc: Remove comment about not testing "inexact"
9539         exceptions.
9540         (INEXACT_EXCEPTION): New macro.
9541         (NO_INEXACT_EXCEPTION): Likewise.
9542         (INVALID_EXCEPTION_OK): Update value.
9543         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9544         (OVERFLOW_EXCEPTION_OK): Likewise.
9545         (UNDERFLOW_EXCEPTION_OK): Likewise.
9546         (IGNORE_ZERO_INF_SIGN): Likewise.
9547         (ERRNO_UNCHANGED): Likewise.
9548         (ERRNO_EDOM): Likewise.
9549         (ERRNO_ERANGE): Likewise.
9550         (test_exceptions): Handle testing "inexact" exceptions.
9551         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9552         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9553         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9554         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9555         INEXACT_EXCEPTION.
9556         (rint_towardzero_test_data): Likewise.
9557         (rint_downward_test_data): Likewise.
9558         (rint_upward_test_data): Likewise.
9560         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9561         with OVERFLOW_EXCEPTION.
9562         (exp10_test_data): Likewise.
9563         (exp2_test_data): Likewise.
9564         (expm1_test_data): Likewise.
9565         (lgamma_test_data): Likewise.
9566         (pow_test_data): Likewise.
9567         (tgamma_test_data): Likewise.
9568         (yn_test_data): Remove duplicate test of overflow.
9570         * math/libm-test.inc (struct test_cc_c_data): New type.
9571         (RUN_TEST_LOOP_cc_c): New macro.
9572         (cpow_test_data): New variable.
9573         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9575         * math/libm-test.inc (struct test_f_L_data): New type.
9576         (RUN_TEST_LOOP_f_L): New macro.
9577         (llrint_test_data): New variable.
9578         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9579         (llrint_tonearest_test_data): New variable.
9580         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9581         (llrint_towardzero_test_data): New variable.
9582         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9583         (llrint_downward_test_data): New variable.
9584         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9585         (llrint_upward_test_data): New variable.
9586         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9587         (llround_test_data): New variable.
9588         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9590 2013-05-13  Peter Collingbourne  <pcc@google.com>
9592         * math/atest-exp2.c (get_log2): Remove const attribute.
9594 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9596         * math/libm-test.inc (struct test_f_l_data): New type.
9597         (RUN_TEST_LOOP_f_l): New macro.
9598         (lrint_test_data): New variable.
9599         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9600         (lrint_tonearest_test_data): New variable.
9601         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9602         (lrint_towardzero_test_data): New variable.
9603         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9604         (lrint_downward_test_data): New variable.
9605         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9606         (lrint_upward_test_data): New variable.
9607         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9608         (lround_test_data): New variable.
9609         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9611 2013-05-15  Peter Collingbourne  <pcc@google.com>
9613         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9614         (EXTRACT_WORDS64) Use where appropriate.
9615         (INSERT_WORDS64) Likewise.
9617         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9618         constraints with x constraints.
9619         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9621         * malloc/obstack.c (_obstack_compat): Add initializer.
9623 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9625         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9626         si_trapno and add si_addr_lsb to _sifields.sigfault.
9627         (si_trapno): Remove macro.
9628         (si_addr_lsb): Define new macro.
9629         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9631 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9633         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9634         instead of TEST_f_l.
9635         (llrint_test_tonearest): Likewise.
9636         (llrint_test_towardzero): Likewise.
9637         (llrint_test_downward): Likewise.
9638         (llrint_test_upward): Likewise.
9639         (llround_test): Likewise.
9641         * math/libm-test.inc (struct test_f_i_data): Add comment.
9642         (RUN_TEST_LOOP_f_b): New macro.
9643         (RUN_TEST_LOOP_f_b_tg): Likewise.
9644         (finite_test_data): New variable.
9645         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9646         (isfinite_test_data): New variable.
9647         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9648         (isinf_test_data): New variable.
9649         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9650         (isnan_test_data): New variable.
9651         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9652         (isnormal_test_data): New variable.
9653         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9654         (issignaling_test_data): New variable.
9655         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9656         (signbit_test_data): New variable.
9657         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9659         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9660         with INVALID_EXCEPTION.
9661         (acosh_test_data): Likewise.
9662         (asin_test_data): Likewise.
9663         (atanh_test_data): Likewise.
9664         (fmod_test_data): Likewise.
9665         (log_test_data): Likewise.
9666         (log10_test_data): Likewise.
9667         (log2_test_data): Likewise.
9668         (pow_test_data): Likewise.
9669         (sqrt_test_data): Likewise.
9670         (y0_test_data): Likewise.
9671         (y1_test_data): Likewise.
9672         (yn_test_data): Likewise.
9674         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9675         function contents.
9677         * math/libm-test.inc (struct test_ff_i_data): New type.
9678         (RUN_TEST_LOOP_ff_i_tg): New macro.
9679         (isgreater_test_data): New variable.
9680         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9681         (isgreaterequal_test_data): New variable.
9682         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9683         (isless_test_data): New variable.
9684         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9685         (islessequal_test_data): New variable.
9686         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9687         (islessgreater_test_data): New variable.
9688         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9689         (isunordered_test_data): New variable.
9690         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9692 2013-05-14  David S. Miller  <davem@davemloft.net>
9694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9696 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9698         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9700         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9701         extra_test to int.
9702         (struct test_f_i_data): Change type of max_ulp to int.
9704         * math/libm-test.inc (test_ffI_f1_data): New type.
9705         (RUN_TEST_LOOP_ffI_f1): New macro.
9706         (remquo_test_data): New variable.
9707         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9709         * setjmp/tst-setjmp-fp.c: New file.
9710         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9711         (link-libm): New variable.
9712         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9714         * math/libm-test.inc (struct test_f_i_data): New type.
9715         (RUN_TEST_LOOP_f_i): New macro.
9716         (RUN_TEST_LOOP_f_i_tg): Likewise.
9717         (fpclassify_test_data): New variable.
9718         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9719         (ilogb_test_data): New variable.
9720         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9722         * math/libm-test.inc (scalbln_test): Correct function name in END
9723         call.
9725         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9726         (RUN_TEST_LOOP_fI_f1): New macro.
9727         (frexp_test_data): New variable.
9728         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9730         * math/libm-test.inc (struct test_fF_f1_data): New type.
9731         (RUN_TEST_LOOP_fF_f1): New macro.
9732         (modf_test_data): New variable.
9733         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9735         * math/libm-test.inc (struct test_f_f1_data): New type.
9736         (RUN_TEST_LOOP_f_f1): New macro.
9737         (gamma_test_data): New variable.
9738         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9739         (lgamma_test_data): New variable.
9740         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9742 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9744         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9745         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9746         (main): Comment "tls" pseudo-hwcap.
9748 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9750         * math/libm-test.inc (struct test_fl_f_data): New type.
9751         (RUN_TEST_LOOP_fl_f): New variable.
9752         (scalbln_test_data): New variable.
9753         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9755         * math/libm-test.inc (struct test_fi_f_data): New type.
9756         (RUN_TEST_LOOP_fi_f): New macro.
9757         (ldexp_test_data): New variable.
9758         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9759         (scalbn_test_data): New variable.
9760         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9762         * math/libm-test.inc (struct test_c_f_data): New type.
9763         (RUN_TEST_LOOP_c_f): New macro.
9764         (cabs_test_data): New variable.
9765         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9766         (carg_test_data): New variable.
9767         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9768         (cimag_test_data): New variable.
9769         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9770         (creal_test_data): New variable.
9771         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9773         * math/libm-test.inc (struct test_if_f_data): New type.
9774         (RUN_TEST_LOOP_if_f): New macro.
9775         (jn_test_data): New variable.
9776         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9777         (yn_test_data): New variable.
9778         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9780         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9782 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9784         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9785         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9787 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9789         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9790         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9791         (bench-deps): Add bench-timing.h.
9792         * benchtests-bench-skeleton.c: Include bench-timing.h.
9793         (main): Use TIMING_* macros instead of clock_gettime.
9794         * benchtests/bench-timing.h: New file.
9796         [BZ #14582]
9797         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9798         Renamed from _LIB_VERSION.
9799         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9801 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9803         * math/libm-test.inc (struct test_fff_f_data): New type.
9804         (RUN_TEST_LOOP_fff_f): New macro.
9805         (fma_test_data): New variable.
9806         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9807         (fma_towardzero_test_data): New variable.
9808         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9809         (fma_downward_test_data): New variable.
9810         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9811         (fma_upward_test_data): New variable.
9812         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9814         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9815         (struct test_c_c_data): New type.
9816         (RUN_TEST_LOOP_c_c): New macro.
9817         (cacos_test_data): New variable.
9818         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9819         (cacosh_test_data): New variable.
9820         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9821         (casin_test_data): New variable.
9822         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9823         (casinh_test_data): New variable.
9824         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9825         (catan_test_data): New variable.
9826         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9827         (catanh_test_data): New variable.
9828         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9829         (ccos_test_data): New variable.
9830         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9831         (ccosh_test_data): New variable.
9832         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9833         (cexp_test_data): New variable.
9834         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9835         (clog_test_data): New variable.
9836         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9837         (clog10_test_data): New variable.
9838         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9839         (conj_test_data): New variable.
9840         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9841         (cproj_test_data): New variable.
9842         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9843         (csin_test_data): New variable.
9844         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9845         (csinh_test_data): New variable.
9846         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9847         (csqrt_test_data): New variable.
9848         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9849         (ctan_test_data): New variable.
9850         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9851         (ctan_tonearest_test_data): New variable.
9852         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9853         (ctan_towardzero_test_data): New variable.
9854         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9855         (ctan_downward_test_data): New variable.
9856         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9857         (ctan_upward_test_data): New variable.
9858         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9859         (ctanh_test_data): New variable.
9860         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9861         (ctanh_tonearest_test_data): New variable.
9862         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9863         (ctanh_towardzero_test_data): New variable.
9864         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9865         (ctanh_downward_test_data): New variable.
9866         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9867         (ctanh_upward_test_data): New variable.
9868         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9869         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9870         of BUILD_COMPLEX.
9872         * math/libm-test.inc (struct test_ff_f_data): New type.
9873         (struct test_ff_f_data_nexttoward): Likewise.
9874         (RUN_TEST_LOOP_2_f): New macro.
9875         (RUN_TEST_LOOP_ff_f): Likewise.
9876         (atan2_test_data): New variable.
9877         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9878         (copysign_test_data): New variable.
9879         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9880         (fdim_test_data): New variable.
9881         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9882         (fmax_test_data): New variable.
9883         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9884         (fmin_test_data): New variable.
9885         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9886         (fmod_test_data): New variable.
9887         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9888         (hypot_test_data): New variable.
9889         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9890         (nextafter_test_data): New variable.
9891         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9892         (nexttoward_test_data): New variable.
9893         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9894         (pow_test_data): New variable.
9895         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9896         (pow_tonearest_test_data): New variable.
9897         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9898         (pow_towardzero_test_data): New variable.
9899         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9900         (pow_downward_test_data): New variable.
9901         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9902         (pow_upward_test_data): New variable.
9903         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9904         (remainder_test_data): New variable.
9905         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9906         (scalb_test_data): New variable.
9907         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9908         * sysdeps/i386/fpu/libm-test-ulps: Update.
9910 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9912         * math/libm-test.inc (fma_test): Use max_value instead of local
9913         variable fltmax.
9914         (nextafter_test): Likewise.
9916         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9917         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9918         (acos_downward_test_data): New variable.
9919         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9920         (acos_upward_test_data): New variable.
9921         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9922         (acosh_test_data): New variable.
9923         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9924         (asin_test_data): New variable.
9925         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9926         (asin_tonearest_test_data): New variable.
9927         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9928         (asin_towardzero_test_data): New variable.
9929         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9930         (asin_downward_test_data): New variable.
9931         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9932         (asin_upward_test_data): New variable.
9933         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9934         (asinh_test_data): New variable.
9935         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9936         (atan_test_data): New variable.
9937         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9938         (atanh_test_data): New variable.
9939         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9940         (cbrt_test_data): New variable.
9941         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9942         (ceil_test_data): New variable.
9943         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9944         (cos_test_data): New variable.
9945         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9946         (cos_tonearest_test_data): New variable.
9947         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9948         (cos_towardzero_test_data): New variable.
9949         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9950         (cos_downward_test_data): New variable.
9951         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9952         (cos_upward_test_data): New variable.
9953         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9954         (cosh_test_data): New variable.
9955         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9956         (cosh_tonearest_test_data): New variable.
9957         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9958         (cosh_towardzero_test_data): New variable.
9959         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9960         (cosh_downward_test_data): New variable.
9961         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9962         (cosh_upward_test_data): New variable.
9963         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9964         (erf_test_data): New variable.
9965         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9966         (erfc_test_data): New variable.
9967         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9968         (exp_test_data): New variable.
9969         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9970         (exp_tonearest_test_data): New variable.
9971         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9972         (exp_towardzero_test_data): New variable.
9973         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9974         (exp_downward_test_data): New variable.
9975         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9976         (exp_upward_test_data): New variable.
9977         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9978         (exp10_test_data): New variable.
9979         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9980         (exp2_test_data): New variable.
9981         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9982         (expm1_test_data): New variable.
9983         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9984         (fabs_test_data): New variable.
9985         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9986         (floor_test_data): New variable.
9987         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9988         (j0_test_data): New variable.
9989         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9990         (j1_test_data): New variable.
9991         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9992         (log_test_data): New variable.
9993         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9994         (log10_test_data): New variable.
9995         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9996         (log1p_test_data): New variable.
9997         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9998         (log2_test_data): New variable.
9999         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10000         (logb_test_data): New variable.
10001         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10002         (logb_downward_test_data): New variable.
10003         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10004         (nearbyint_test_data): New variable.
10005         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10006         (rint_test_data): New variable.
10007         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10008         (rint_tonearest_test_data): New variable.
10009         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10010         (rint_towardzero_test_data): New variable.
10011         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10012         (rint_downward_test_data): New variable.
10013         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10014         (rint_upward_test_data): New variable.
10015         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10016         (round_test_data): New variable.
10017         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10018         (sin_test_data): New variable.
10019         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10020         (sin_tonearest_test_data): New variable.
10021         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10022         (sin_towardzero_test_data): New variable.
10023         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10024         (sin_downward_test_data): New variable.
10025         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10026         (sin_upward_test_data): New variable.
10027         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10028         (sinh_test_data): New variable.
10029         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10030         (sinh_tonearest_test_data): New variable.
10031         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10032         (sinh_towardzero_test_data): New variable.
10033         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10034         (sinh_downward_test_data): New variable.
10035         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10036         (sinh_upward_test_data): New variable.
10037         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10038         (sqrt_test_data): New variable.
10039         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10040         (tan_test_data): New variable.
10041         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10042         (tan_tonearest_test_data): New variable.
10043         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10044         (tan_towardzero_test_data): New variable.
10045         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10046         (tan_downward_test_data): New variable.
10047         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10048         (tan_upward_test_data): New variable.
10049         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10050         (tanh_test_data): New variable.
10051         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10052         (tgamma_test_data): New variable.
10053         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10054         (trunc_test_data): New variable.
10055         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10056         (y0_test_data): New variable.
10057         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10058         (y1_test_data): New variable.
10059         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10060         (significand_test_data): New variable.
10061         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10063 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10065         [BZ #12387]
10066         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10068 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10070         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10072 2013-05-10  Andreas Jaeger  <aj@suse.de>
10074         [BZ #15448]
10075         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10076         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10078 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10080         * math/gen-libm-test.pl (adjust_arg): New function.
10081         (special_functions): Handle generating output in both functions
10082         and arrays.
10083         (parse_args): Likewise.
10084         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10085         $in_func argument to parse_args.
10086         * math/libm-test.inc (struct test_f_f_data): New type.
10087         (IF_ROUND_INIT_): New macro.
10088         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10089         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10090         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10091         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10092         (ROUND_RESTORE_): Likewise.
10093         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10094         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10095         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10096         (ROUND_RESTORE_FE_UPWARD): Likewise.
10097         (RUN_TEST_LOOP_f_f): New macro.
10098         (acos_test_data): New variable.
10099         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10100         (acos_tonearest_test_data): New variable.
10101         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10103 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10105         * benchtests/bench-skeleton.c (startup): Fix coding style.
10107 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10109         [BZ #6809]
10110         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10111         negative infinity argument.
10112         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10113         negative infinity argument.
10114         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10115         negative infinity argument.
10116         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10117         domain errors.
10119 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10121         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10122         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10123         * iconv/iconv_prog.c (main): Likewise.
10124         * locale/programs/charmap-dir.c (charmap_readdir)
10125         (fopen_uncompressed): Likewise.
10126         * locale/programs/locfile.c (siblings_uncached)
10127         (write_locale_data): Use lstat64 instead of lstat.
10128         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10129         stat.
10131 2013-05-10  Andreas Jaeger  <aj@suse.de>
10133         [BZ #15395]
10134         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10135         localization.
10136         Include <locale.h>.
10138 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10140         * elf/dl-close.c (_dl_close_worker): Add comments.
10142 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10144         [BZ #15359]
10145         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10146         high part of pi/2.
10147         (__ieee754_rem_pio2l): Update comments.
10149         [BZ #15429]
10150         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10151         high part of pi/2.
10152         (__ieee754_rem_pio2l): Update comments.
10154         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10155         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10157         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10158         M_PI_4l.
10160         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10161         (M_PI_34_LOG10El): Likewise.
10162         (M_PI2_LOG10El): Likewise.
10163         (M_PI4_LOG10El): Likewise.
10164         (M_PI_LOG10El): Likewise.
10166 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10170 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10172         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10173         (MINUS_ZERO_INIT): Likewise.
10174         (PLUS_INFTY_INIT): Likewise.
10175         (MINUS_INFTY_INIT): Likewise.
10176         (QNAN_VALUE_INIT): Likewise.
10177         (MAX_VALUE_INIT): Likewise.
10178         (MIN_VALUE_INIT): Likewise.
10179         (MIN_SUBNORM_VALUE_INIT): Likewise.
10180         (plus_zero): Initialize with PLUS_ZERO_INIT.
10181         (minus_zero): Initialize with MINUS_ZERO_INIT.
10182         (plus_infty): Initialize with PLUS_INFTY_INIT.
10183         (minus_infty): Initialize with MINUS_INFTY_INIT.
10184         (qnan_value): Initialize with QNAN_VALUE_INIT.
10185         (max_value): Initialize with MAX_VALUE_INIT.
10186         (min_value): Initialize with MIN_VALUE_INIT.
10187         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10189         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10190         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10191         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10192         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10194         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10195         (RUN_TEST_2_f): Likewise.
10196         (RUN_TEST_ff_f): Likewise.
10197         (RUN_TEST_fi_f): Likewise.
10198         (RUN_TEST_fl_f): Likewise.
10199         (RUN_TEST_fff_f): Likewise.
10200         (RUN_TEST_c_f): Likewise.
10201         (RUN_TEST_f_f1): Likewise.
10202         (RUN_TEST_fF_f1): Likewise.
10203         (RUN_TEST_fI_f1): Likewise.
10204         (RUN_TEST_ffI_f1): Likewise.
10205         (RUN_TEST_c_c): Likewise.
10206         (RUN_TEST_cc_c): Likewise.
10207         (RUN_TEST_f_i): Likewise.
10208         (RUN_TEST_f_i_tg): Likewise.
10209         (RUN_TEST_ff_i_tg): Likewise.
10210         (RUN_TEST_f_b): Likewise.
10211         (RUN_TEST_f_b_tg): Likewise.
10212         (RUN_TEST_f_l): Likewise.
10213         (RUN_TEST_f_L): Likewise.
10214         (RUN_TEST_sincos): Likewise.
10215         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10216         whether to show exceptions.  Do not include ");\n" in return
10217         value.
10218         (special_functions): Output call to RUN_TEST_sincos instead of
10219         check_float calls.  Update calls to new_test.
10220         (parse_args): Output call to single RUN_TEST_* macro instead of
10221         check_* calls and other assignments.  Update calls to new_test.
10223         [BZ #2546]
10224         [BZ #2560]
10225         [BZ #5159]
10226         [BZ #15426]
10227         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10228         input to result for tgamma overflow.
10229         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10230         (gamma_coeff): New variable.
10231         (NCOEFF): New macro.
10232         (gamma_positive): New function.
10233         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10234         underflow here.  Use gamma_positive instead of exp (lgamma) for
10235         other arguments.
10236         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10237         (gamma_coeff): New variable.
10238         (NCOEFF): New macro.
10239         (gammaf_positive): New function.
10240         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10241         underflow here.  Use gamma_positive instead of exp (lgamma) for
10242         other arguments.
10243         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10244         (gamma_coeff): New variable.
10245         (NCOEFF): New macro.
10246         (gammal_positive): New function.
10247         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10248         underflow here.  Use gamma_positive instead of exp (lgamma) for
10249         other arguments.
10250         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10251         (gamma_coeff): New variable.
10252         (NCOEFF): New macro.
10253         (gammal_positive): New function.
10254         (__ieee754_gammal_r): Handle positive infinity, overflow and
10255         underflow here.  Handle NaN the same as positive infinity.  Remove
10256         check x < 0xffffffff for negative integers.  Use gamma_positive
10257         instead of exp (lgamma) for other arguments.
10258         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10259         (gamma_coeff): New variable.
10260         (NCOEFF): New macro.
10261         (gammal_positive): New function.
10262         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10263         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10264         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10265         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10266         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10267         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10268         * sysdeps/generic/math_private.h (__gamma_productf): New
10269         prototype.
10270         (__gamma_product): Likewise.
10271         (__gamma_productl): Likewise.
10272         * math/Makefile (libm-calls): Add gamma_product.
10273         * math/libm-test.inc (tgamma_test): Add more tests.
10274         * sysdeps/i386/fpu/libm-test-ulps: Update.
10275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10277 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10279         * benchtests/bench-skeleton.c (main): Preheat CPU.
10281 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10283         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10285 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10287         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10288         and _dl_skip_args_internal.
10290 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10292         * manual/message.texi (Message Translation): Talk about users.
10293         Message to key mapping impacts design.
10295 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10297         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10299         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10301         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10302         * sysdeps/wordsize-64/glob64.c: ... here.
10304         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10305         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10306         New macros.
10308         * debug/getlogin_r_chk.c: Moved to ...
10309         * login/getlogin_r_chk.c: ... here.
10310         * debug/Makefile (routines): Move getlogin_r_chk to ...
10311         * login/Makefile (routines): ... here.
10312         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10313         * login/Versions (libc: GLIBC_2.4): ... here.
10315         * io/poll.c (__poll): Renamed from poll.
10316         Add libc_hidden_def.
10317         (poll): Define as weak alias.
10319         * debug/ptsname_r_chk.c: Moved to ...
10320         * login/ptsname_r_chk.c: ... here.
10321         * debug/Makefile (routines): Move ptsname_r_chk to ...
10322         * login/Makefile (routines): ... here.
10323         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10324         * login/Versions (libc: GLIBC_2.4): ... here.
10326         * posix/getlogin.c: Moved to ...
10327         * login/getlogin.c: ... here.
10328         * posix/getlogin_r.c: Moved to ...
10329         * login/getlogin_r.c: ... here.
10330         * posix/getlogin_r.c: Moved to ...
10331         * login/getlogin_r.c: ... here.
10332         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10333         * login/Makefile (routines): ... here.
10334         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10335         * login/Versions (libc: GLIBC_2.0): ... here.
10337         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10338         (setrlimit): Define as weak alias.
10340         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10341         Call __ names for open, ftruncate, and close.
10342         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10343         (truncate): Define as weak alias.
10345 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10347         * math/gen-libm-test.pl (parse_args): Initialize x before each
10348         test of frexp, modf and remquo.
10350         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10351         test signgam value.
10353 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10355         [BZ #15418]
10356         [BZ #15419]
10357         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10358         internal tests.
10359         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10361 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10363         * elf/dl-writev.h: New file.
10364         * elf/dl-misc.c: Include it.
10365         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10366         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10368 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10370         * math/libm-test.inc (noXFails): Remove variable.
10371         (noXPasses): Likewise.
10372         (BUILD_COMPLEX_INT): Remove macro.
10373         (print_screen): Remove xfail argument.
10374         (print_screen_max_error): Likewise.
10375         (update_stats): Likewise.
10376         (print_max_error): Likewise.  Update calls to other affected
10377         functions.
10378         (print_complex_max_error): Likewise.
10379         (test_single_exception): Update calls to print_screen.
10380         (test_single_errno): Likewise.
10381         (check_float_internal): Remove xfail argument.  Update calls to
10382         other affected functions.
10383         (check_float): Likewise.
10384         (check_complex): Likewise.
10385         (check_int): Likewise.
10386         (check_long): Likewise.
10387         (check_bool): Likewise.
10388         (check_longlong): Likewise.
10389         (main): Don't print noXFails and noXPasses.
10390         * math/gen-libm-test.pl (top level): Don't mention expected
10391         failure handling in comment.
10392         (new_test): Don't handle expected failures.
10393         (parse_args): Don't mention expected failure handling in comment.
10394         (generate_testfile): Don't handle expected failures.
10395         (parse_ulps): Likewise.
10396         (print_ulps_file): Likewise.
10397         (get_failure): Remove function.
10398         (output_test): Don't handle expected failures.
10399         * make/README.libm-test: Don't mention expected failure handling.
10401         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10402         (minus_zero): Likewise.
10403         (plus_infty): Likewise.
10404         (minus_infty): Likewise.
10405         (qnan_value): Likewise.
10406         (max_value): Likewise.
10407         (min_value): Likewise.
10408         (min_subnorm_value): Likewise.
10409         (initialize): Do not initialize those variables dynamically.
10411 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10413         * io/open.c (__open_2): Moved to ...
10414         * io/open_2.c: ... this new file.
10415         * io/open64.c (__open64_2): Moved to ...
10416         * io/open64_2.c: ... this new file.
10417         * io/openat.c (__openat_2): Moved to ...
10418         * io/openat_2.c: ... this new file.
10419         * io/openat64.c (__openat64_2): Moved to ...
10420         * io/openat64_2.c: ... this new file.
10421         * io/Makefile (routines): Add them.
10422         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10423         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10424         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10425         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10426         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10427         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10428         (__openat64): Add hidden_ver.
10429         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10430         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10432         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10433         Separately conditionalize setting of GLRO(dl_sysinfo) so
10434         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10435         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10437 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10439         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10440         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10441         definition.
10442         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10443         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10444         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10445         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10446         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10448 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10450         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10451         test signgam value.
10453         * math/libm-test.inc (hypot_test): Do not use
10454         IGNORE_ZERO_INF_SIGN.
10456 2013-05-03  Andreas Jaeger  <aj@suse.de>
10458         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10459         Linux 3.9.
10460         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10461         (PF_MAX): Adjust for VSOCK change.
10463 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10467 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10469         [BZ #15264]
10470         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10471         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10472         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10474 2013-05-02  David S. Miller  <davem@davemloft.net>
10476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10478 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10480         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10482 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10484         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10486 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10488         [BZ #14952]
10489         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10490         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10491         Use __attribute__ ((__gnu_inline__)).
10492         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10493         Don't use __attribute__ ((__gnu_inline__)).
10495 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10497         [BZ #15423]
10498         * math/s_catan.c (__catan): Handle small real or imaginary part of
10499         input specially to avoid spurious underflow.
10500         * math/s_catanf.c (__catanf): Likewise.
10501         * math/s_catanh.c (__catanh): Likewise.
10502         * math/s_catanhf.c (__catanhf): Likewise.
10503         * math/s_catanhl.c (__catanhl): Likewise.
10504         * math/s_catanl.c (__catanl): Likewise.
10505         * math/libm-test.inc (catan_test): Add more tests.
10506         (catanh_test): Likewise.
10507         * sysdeps/i386/fpu/libm-test-ulps: Update.
10508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10510 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10514 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10516         [BZ #15416]
10517         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10518         accurately for denominator in atan2.
10519         * math/s_catanf.c (__catanf): Likewise.
10520         * math/s_catanh.c (__catanh): Likewise.
10521         * math/s_catanhf.c (__catanhf): Likewise.
10522         * math/s_catanhl.c (__catanhl): Likewise.
10523         * math/s_catanl.c (__catanl): Likewise.
10524         * math/libm-test.inc (catan_test): Add more tests.
10525         (catanh_test): Likewise.
10526         * sysdeps/i386/fpu/libm-test-ulps: Update.
10527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10529 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10531         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10533         * benchtests/Makefile (bench): Remove slow benchmarks.
10534         * benchtests/atan-inputs: Add slow benchmark inputs.
10535         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10536         (BENCH_FUNC): Accept variant offset.
10537         (VARIANT): Define.
10538         * benchtests/bench-skeleton.c (main): Run benchmark for each
10539         variant.
10540         * benchtests/cos-inputs: Add slow benchmark inputs.
10541         * benchtests/exp-inputs: Likewise.
10542         * benchtests/pow-inputs: Likewise.
10543         * benchtests/sin-inputs: Likewise.
10544         * benchtests/slowatan-inputs: Remove.
10545         * benchtests/slowatan.c: Remove.
10546         * benchtests/slowcos-inputs: Remove.
10547         * benchtests/slowcos.c: Remove.
10548         * benchtests/slowexp-inputs: Remove.
10549         * benchtests/slowexp.c: Remove.
10550         * benchtests/slowpow-inputs: Remove.
10551         * benchtests/slowpow.c: Remove.
10552         * benchtests/slowsin-inputs: Remove.
10553         * benchtests/slowsin.c: Remove.
10554         * benchtests/slowtan-inputs: Remove.
10555         * benchtests/slowtan.c: Remove.
10556         * benchtests/tan-inputs: Add slow benchmark inputs.
10557         * scripts/bench.pl: Parse comments and directives.
10559         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10560         in CPPFLAGS.
10561         ($(objpfx)bench-%.c): Remove *-ITER.
10562         * benchtests/bench-modf.c: Remove definition of ITER.
10563         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10564         (main): Loop for DURATION seconds instead of fixed number of
10565         iterations.
10566         * scripts/bench.pl: Don't expect iterations in parameters.
10568 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10570         * io/fchdir.c (__fchdir): Renamed from fchdir.
10571         (fchdir): Define as weak alias.
10573 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10575         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10576         (ERRNO_EDOM): Likewise.
10577         (ERRNO_ERANGE): Likewise.
10578         (noErrnoTests): New variable.
10579         (init_max_error): Set errno to 0.
10580         (test_single_errno): New function.
10581         (test_errno): Likewise.
10582         (check_float_internal): Call test_errno.  Set errno to 0.
10583         (check_complex): Refer to errno tests in comment.
10584         (check_int): Call test_errno.  Set errno to 0.
10585         (check_long): Likewise.
10586         (check_bool): Likewise.
10587         (check_longlong): Likewise.
10588         (cos_test): Use ERRNO_* flags for errno tests instead of
10589         check_int.
10590         (expm1_test): Likewise.
10591         (fmod_test): Likewise.
10592         (ilogb_test): Likewise.
10593         (lgamma_test): Likewise.
10594         (pow_test): Likewise.
10595         (remainder_test): Likewise.
10596         (sin_test): Likewise.
10597         (tan_test): Likewise.
10598         (yn_test): Likewise.
10599         (initialize): Set errno to 0.
10600         (main): Print number of errno tests.
10601         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10603 2013-04-29  Andreas Jaeger  <aj@suse.de>
10605         [BZ #15084]
10606         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10607         and RES_USEVC.
10609         [BZ #15085]
10610         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10611         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10612         unimplemented.
10614         [BZ #15380]
10615         * stdlib/random.c (__initstate): Return NULL if
10616         __initstate fails.
10618         [BZ #15086]
10619         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10620         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10621         RES_SNGLKUPREOP.
10623 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10627 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10629         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10630         of individual tests.
10631         (casin_test): Likewise.
10632         (casinh_test): Likewise.
10634 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10636         [BZ #15409]
10637         * math/s_catan.c (__catan): Handle arguments with large real or
10638         imaginary part separately without squaring.
10639         * math/s_catanf.c (__catanf): Likewise.
10640         * math/s_catanh.c (__catanh): Likewise.
10641         * math/s_catanhf.c (__catanhf): Likewise.
10642         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10643         and redefine.
10644         (__catanhl): Handle arguments with large real or imaginary part
10645         separately without squaring.
10646         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10647         and redefine.
10648         (__catanl): Handle arguments with large real or imaginary part
10649         separately without squaring.
10650         * math/libm-test.inc (catan_test): Add more tests.
10651         (catanh_test): Likewise.
10652         * sysdeps/i386/fpu/libm-test-ulps: Update.
10653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10655 2013-04-27  Andreas Jaeger  <aj@suse.de>
10657         [BZ #15007]
10658         * stdlib/stdlib.h: Update guards for qecvt.
10659         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10660         <stdlib.h>.
10662 2013-04-27  Allan McRae  <allan@archlinux.org>
10664         * sysdeps/i386/fpu/libm-test-ulps: Update.
10666 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10668         [BZ #15406]
10669         * math/s_catan.c: Include <float.h>.
10670         (__catan): Ensure underflow exception occurs for underflowed
10671         result.
10672         * math/s_catanf.c: Include <float.h>.
10673         (__catanf): Ensure underflow exception occurs for underflowed
10674         result.
10675         * math/s_catanh.c: Include <float.h>.
10676         (__catanh): Ensure underflow exception occurs for underflowed
10677         result.
10678         * math/s_catanhf.c: Include <float.h>.
10679         (__catanhf): Ensure underflow exception occurs for underflowed
10680         result.
10681         * math/s_catanhl.c: Include <float.h>.
10682         (__catanhl): Ensure underflow exception occurs for underflowed
10683         result.
10684         * math/s_catanl.c: Include <float.h>.
10685         (__catanl): Ensure underflow exception occurs for underflowed
10686         result.
10687         * math/libm-test.inc (catan_test): Add more tests.
10688         (catanh_test): Likewise.
10690         [BZ #15405]
10691         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10692         underflowed result.
10693         * math/s_ccoshf.c (__ccoshf): Likewise.
10694         * math/s_ccoshl.c (__ccoshl): Likewise.
10695         * math/s_csin.c (__csin): Likewise.
10696         * math/s_csinf.c (__csinf): Likewise.
10697         * math/s_csinh.c (__csinh): Likewise.
10698         * math/s_csinhf.c (__csinhf): Likewise.
10699         * math/s_csinhl.c (__csinhl): Likewise.
10700         * math/s_csinl.c (__csinl): Likewise.
10701         * math/libm-test.inc (ccos_test): Add more tests.
10702         (ccosh_test): Likewise.
10703         (csin_test): Likewise.
10704         (csinh_test): Likewise.
10706 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10708         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10709         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10710         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10711         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10712         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10713         powerpc/power5+/fpu folders.
10714         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10717 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10721 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10723         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10724         additions to variable.
10725         [$(config-machine) = x86_64] (modules-names): Likewise.
10726         ($(objpfx)tst-audit3): Remove dependency.
10727         ($(objpfx)tst-audit3.out): Likewise.
10728         ($(objpfx)tst-audit4): Likewise.
10729         ($(objpfx)tst-audit4.out): Likewise.
10730         ($(objpfx)tst-audit5): Likewise.
10731         ($(objpfx)tst-audit5.out): Likewise.
10732         ($(objpfx)tst-audit6): Likewise.
10733         ($(objpfx)tst-audit6.out): Likewise.
10734         ($(objpfx)tst-audit7): Likewise.
10735         ($(objpfx)tst-audit7.out): Likewise.
10736         (tst-audit3-ENV): Remove variable.
10737         (tst-audit4-ENV): Likewise.
10738         (tst-audit5-ENV): Likewise.
10739         (tst-audit6-ENV): Likewise.
10740         (tst-audit7-ENV): Likewise.
10741         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10742         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10743         addition to variable.
10744         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10745         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10746         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10747         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10748         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10749         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10750         tst-audit3, tst-audit4 and tst-audit5.
10751         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10752         tst-audit6 and tst-audit7.
10753         [$(subdir) = elf] (modules-names): Add audit modules for those
10754         tests.
10755         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10756         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10757         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10758         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10759         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10760         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10761         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10762         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10763         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10764         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10765         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10766         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10767         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10768         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10769         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10770         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10771         Likewise.
10772         [$(subdir) = elf && $(config-cflags-avx) = yes]
10773         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10774         [$(subdir) = elf && $(config-cflags-avx) = yes]
10775         (CFLAGS-tst-auditmod4a.c): Likewise.
10776         [$(subdir) = elf && $(config-cflags-avx) = yes]
10777         (CFLAGS-tst-auditmod4b.c): Likewise.
10778         [$(subdir) = elf && $(config-cflags-avx) = yes]
10779         (CFLAGS-tst-auditmod6b.c): Likewise.
10780         [$(subdir) = elf && $(config-cflags-avx) = yes]
10781         (CFLAGS-tst-auditmod6c.c): Likewise.
10782         [$(subdir) = elf && $(config-cflags-avx) = yes]
10783         (CFLAGS-tst-auditmod7b.c): Likewise.
10784         * elf/tst-audit3.c: Move to ...
10785         * sysdeps/x86_64/tst-audit3.c: ... here.
10786         * elf/tst-audit4.c: Move to ...
10787         * sysdeps/x86_64/tst-audit4.c: ... here.
10788         * elf/tst-audit5.c: Move to ...
10789         * sysdeps/x86_64/tst-audit5.c: ... here.
10790         * elf/tst-audit6.c: Move to ...
10791         * sysdeps/x86_64/tst-audit6.c: ... here.
10792         * elf/tst-audit7.c: Move to ...
10793         * sysdeps/x86_64/tst-audit7.c: ... here.
10794         * elf/tst-auditmod3a.c: Move to ...
10795         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10796         * elf/tst-auditmod3b.c: Move to ...
10797         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10798         * elf/tst-auditmod4a.c: Move to ...
10799         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10800         * elf/tst-auditmod4b.c: Move to ...
10801         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10802         * elf/tst-auditmod5a.c: Move to ...
10803         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10804         * elf/tst-auditmod5b.c: Move to ...
10805         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10806         * elf/tst-auditmod6a.c: Move to ...
10807         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10808         * elf/tst-auditmod6b.c: Move to ...
10809         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10810         * elf/tst-auditmod6c.c: Move to ...
10811         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10812         * elf/tst-auditmod7a.c: Move to ...
10813         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10814         * elf/tst-auditmod7b.c: Move to ...
10815         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10817 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10819         [BZ #15366]
10820         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10821         define unconditionally.
10822         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10823         define unconditionally.
10824         (INT8_C, INT16_C, etc.): Likewise.
10826 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10828         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10829         __ehdr_start with hidden visibility.
10831         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10833 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10835         * math/libm-test.inc (cos_test): Use accurate hex constants.
10836         (sincost_test): Likewise.
10838 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10840         * math/libm-test.inc (catan_test): Add more tests.
10841         (catanh_test): Likewise.
10843         * math/s_catanf.c (__catanf): Use suffixed floating-point
10844         constants.
10845         * math/s_catanhf.c (__catanhf): Likewise.
10846         * math/s_catanhl.c (__catanhl): Likewise.
10847         * math/s_catanl.c (__catanl): Likewise.
10849         [BZ #15394]
10850         * math/s_catan.c (__catan): Calculate imaginary part of result
10851         with log1p not log unless computing log of number close to 0.
10852         * math/s_catanf.c (__catanf): Likewise.
10853         * math/s_catanl.c (__catanl): Likewise.
10854         * math/s_catanh.c (__catanh): Calculate real part of result with
10855         log1p not log unless computing log of number close to 0.
10856         * math/s_catanhf.c (__catanhf): Likewise.
10857         * math/s_catanhl.c (__catanhl): Likewise.
10858         * math/libm-test.inc (catan_test): Add more tests.
10859         (catanh_test): Likewise.
10860         * sysdeps/i386/fpu/libm-test-ulps: Update.
10861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10863 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10865         * benchtests/Makefile: Mention files in which fast and slow
10866         paths of math functions are implemented.
10868 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10870         * sysdeps/posix/timespec_get.c: New file.
10872 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10874         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10875         POWER.
10876         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10877         for POWER.
10878         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10879         powerpc/power5/fpu folders.
10880         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10881         * benchtests/Makefile: Add modf testcase.
10882         * benchtests/bench-modf.c: New file: Benchmark test for mo
10884 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10886         [BZ #14888]
10887         * time/Makefile (tests): Add tst-strptime-whitespace.
10888         * time/strptime_l.c (get_number): Use ISSPACE.
10889         (__strptime_internal): Likewise.
10890         * time/tst-strptime-whitespace.c: New test case.
10892 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10894         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10895         member.
10896         (_nss_files_init): Set it here.
10898 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10900         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10901         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10902         unsigned.
10904 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10906         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10908 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10910         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10911         size just once.
10913 2013-04-21  David S. Miller  <davem@davemloft.net>
10915         * po/ru.po: Update Russion translation from translation project.
10917 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10919         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10920         and setfsgid.
10922 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10924         * configure.in: Remove i386 configure warning. Remove i386 case.
10925         * configure: Regenerate.
10926         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10927         Add example to error message.
10928         * sysdeps/i386/configure: Regenerate.
10930 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10932         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10933         slowtan.
10934         * benchtests/cos-inputs: New file.
10935         * benchtests/slowcos-inputs: New file.
10936         * benchtests/slowcos.c: New file.
10937         * benchtests/slowtan-inputs: New file.
10938         * benchtests/slowtan.c: New file.
10939         * benchtests/tan-inputs: New file.
10941 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10943         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10944         considered kosher.
10946 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10948         * benchtests/Makefile: Include cppflags-iterator.mk to add
10949         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10951         * Makefile.in (bench-clean): New target.
10952         * benchtests/Makefile (bench-clean): Likewise.
10954 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10956         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10958 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10960         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10962 2013-04-15  Andreas Schwab  <schwab@suse.de>
10964         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10965         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10966         * nscd/pwdcache.c (cache_addpw): Likewise.
10967         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10968         more than recsize.
10970 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10972         * benchtests/Makefile (bench): Write all output to
10973         bench-out.tmp together.
10975 2013-04-15  Andreas Schwab  <schwab@suse.de>
10977         * nscd/nscd.c (main): Don't fork again after closing files.
10979 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10981         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10983         * benchtests/Rules (bench-deps): Collect dependencies into a
10984         single variable.  Add Makefile to dependencies.
10985         ($(objpfx)bench-%.c): Depend on bench-deps.
10987 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10988             Xavier Roche  <roche+kml2@exalead.com>
10990         [BZ #15361]
10991         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10992         just that it's a file descriptor.
10993         * manual/llio.texi (Synchronizing AIO Operations): Update description
10994         for EBADF error from aio_fsync.
10996 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10998         * Rules (bench): Move target definition...
10999         * benchtests/Makefile: ... here.
11001 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11003         * math/libm-test.inc (cos_test): Fix PI/2 test.
11004         (sincos_test): Likewise.
11005         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11006         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11008 2013-04-11  Andreas Schwab  <schwab@suse.de>
11010         [BZ #13988]
11011         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11012         accept exponent character only when digits were seen.
11013         * stdio-common/Makefile (tests): Add bug26.
11014         * stdio-common/bug26.c: New file.
11016         [BZ #14293]
11017         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11018         non-freeable.
11020 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11022         * Makeconfig (rtld-prefix): Define built linker prefix.
11023         * Rules (run-bench): Use it.
11024         * math/Makefile (run-regen-ulps): Likewise.
11026         * Rules (bench): Remove eval.
11028 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11029             Roland McGrath  <roland@hack.frob.com>
11030             Ondrej Bilka  <neleai@seznam.cz>
11032         [BZ #15346]
11033         * time/getdate.c: Include ctype.h and alloca.h.
11034         (__getdate_r): Trim leading and trailing spaces of input.
11035         * time/tst-getdate.c (tests): Add tests with leading and
11036         trailing spaces.
11038 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11040         [BZ #14280]
11041         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11042         when computing value.
11044 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11046         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11047         Use testrun.sh to run libm tests.
11049         [BZ #15309]
11050         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11052 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11054         [BZ #15264]
11055         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11057 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11059         * Makefile.in (regen-ulps): New target.
11060         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11061         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11062         [ifneq (no,$(PERL)] (regen-ulps): New target.
11063         [ifeq (no,$(PERL)] (regen-ulps): New target.
11064         * math/libm-test.inc (ulps_file_name): Define.
11065         (output_dir): New variable.
11066         (options): Add "output-dir" option.
11067         (parse_opt): Handle 'o' case.
11068         (main): If output_dir is non-NULL use it as a prefix
11069         otherwise use "".
11070         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11072 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11074         [BZ #10060, #10062]
11075         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11076         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11077         fail configure if __sync_val_compare_and_swap is not inlined.
11078         * sysdeps/i386/configure: Regenerate.
11079         * configure.in: Build for i686 when configured for i386.
11080         * configure: Regenerate.
11081         * README: Remove i386 reference.
11083 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11085         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11086         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11088 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11090         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11091         (lmsnanval): New variables.
11092         (F): Add conversion tests.
11093         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11094         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11096         * stdio-common/tstdiomisc.c (F): Properly collect individual
11097         tests' results.
11099         [BZ #14686, #15336]
11100         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11101         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11102         Instead, use input NaN values or generate a qNaN by arithmetic
11103         operation.  Also fix bugs to comply with the standard.
11104         * math/libm-test.inc (remainder_test): Add more tests.
11106         [BZ #15335, #15342]
11107         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11108         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11109         input NaN values or generate a qNaN by arithmetic operation.
11111         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11112         unreachable code.
11114         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11115         definitions.
11117 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11119         [BZ #14478]
11120         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11121         underflowed result.
11122         * math/s_cexpf.c (__cexpf): Likewise.
11123         * math/s_cexpl.c (__cexpl): Likewise.
11124         * math/libm-test.inc (cexp_test): Add more tests.
11126 2013-04-03  Andreas Schwab  <schwab@suse.de>
11128         [BZ #15330]
11129         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11130         order arrays from heap if bigger than alloca cutoff.
11132 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11134         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11135         (SNAN_TESTS_double): Refer to GCC PR56831.
11136         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11137         GCC PR56828.
11139 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11141         * Rules (bench): Move bench.out after the run is complete.
11143         * Rules (bench): Echo currently running benchmark.
11145         * benchtests/Makefile (bench): Add atan and slowatan.
11146         * benchtests/atan-inputs: New file.
11147         * benchtests/slowatan-inputs: New file.
11148         * benchtests/slowatan.c: New file.
11150         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11151         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11152         its value.
11154         [BZ #15305]
11155         * sysdeps/unix/sysv/linux/kernel-features.h
11156         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11157         __ASSUME_XFS_RESTRICTED_CHOWN.
11158         * sysdeps/unix/sysv/linux/pathconf.c
11159         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11160         Save and restore errno.
11162 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11164         [BZ #15327]
11165         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11166         arguments using __kernel_casinh.
11167         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11168         arguments using __kernel_casinhf.
11169         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11170         arguments using __kernel_casinhl.
11171         * math/libm-test.inc (cacosh_test): Add more tests.
11172         * sysdeps/i386/fpu/libm-test-ulps: Update.
11173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11175 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11177         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11178         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11180         * bench/Makefile (bench): Add sin and slowsin.
11181         * benchtests/sin-inputs: New file.
11182         * benchtests/slowsin-inputs: New file.
11183         * benchtests/slowsin.c: New file.
11185         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11186         (bench): Add slowexp and slowpow.
11187         (exp-ITER): Increase iterations.
11188         (pow-ITER): Likewise.
11189         * benchtests/exp-inputs: Change input.
11190         * benchtests/pow-inputs: Likewise.
11191         * benchtests/slowexp-inputs: New file.
11192         * benchtests/slowexp.c: New file.
11193         * benchtests/slowpow-inputs: New file.
11194         * benchtests/slowpow.c: New file.
11196 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11198         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11199         instructions.
11200         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11201         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11202         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11203         * benchtests/Makefile: Add rint benchtest.
11204         * benchtests/rint-inputs: Input for rint benchtest.
11206 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11208         * Versions.def (libm): Add GLIBC_2.18.
11209         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11210         hidden libm prototypes.
11211         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11212         * math/Makefile (libm-calls): Add s_issignaling.
11213         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11214         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11215         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11216         declaration.
11217         * math/math.h [__USE_GNU] (issignaling): New macro.
11218         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11219         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11220         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11221         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11222         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11223         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11224         * manual/arith.texi (issignaling): New section.
11225         * manual/libm-err-tab.pl (@all_functions): Update comment.
11226         * math/gen-libm-test.pl (parse_args): Apply special handling for
11227         issignaling.
11228         * math/libm-test.inc (print_float, issignaling_test): New
11229         functions.
11230         (check_float_internal): Add issignaling checks.
11231         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11232         default definition.
11233         * sysdeps/powerpc/math-tests.h: New file.
11234         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11235         tests.
11236         * math/test-snan.c (TEST_FUNC): Likewise.
11238 2013-03-30  David S. Miller  <davem@davemloft.net>
11240         * po/de.po: Update from translation team.
11242 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11244         [BZ #10357]
11245         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11246         imaginary part less than 1.0 and real part less than 0.5
11247         specially.
11248         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11249         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11250         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11251         (cacos_test): Add more tests.
11252         (casin_test): Likewise.
11253         (casinh_test): Likewise.
11254         * sysdeps/i386/fpu/libm-test-ulps: Update.
11255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11257 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11259         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11260         ONE with its value.
11262         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11263         (__pow_mp): Replace ONE and MONE with their values.
11264         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11265         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11266         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11267         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11268         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11269         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11271         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11273         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11274         (__pow_mp): Replace ZERO and MZERO with their values.
11275         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11276         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11277         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11278         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11279         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11280         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11281         (__sqr): Likewise.
11283         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11285         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11287 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11289         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11290         Declare with __attribute__ ((weak)).
11291         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11292         Call __call_tls_dtors only if it's not NULL.
11294 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11296         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11297         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11298         magic __ehdr_start linker symbol if it's defined.
11299         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11300         them up here if it was already done.
11302         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11303         (_dl_aux_init): Use const in cast when setting it.
11304         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11305         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11306         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11308         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11309         Declare them here.
11310         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11311         * csu/libc-tls.c: Nor here.
11312         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11314         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11315         (__libc_message): Never call vsyslog.
11317 2013-03-28  Alan Modra  <amodra@gmail.com>
11319         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11320         Define as empty.
11321         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11322         Likewise.
11324 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11326         [BZ #15214]
11327         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11328         underflow.
11329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11331 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11333         [BZ #15304]
11334         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11335         Don't add gid passed as argument.
11337         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11339 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11341         [BZ #15307]
11342         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11343         imaginary part between 1.0 and 1.5 and real part less than 0.5
11344         specially.
11345         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11346         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11347         * math/libm-test.inc (cacos_test): Add more tests.
11348         (casin_test): Likewise.
11349         (casinh_test): Likewise.
11350         * sysdeps/i386/fpu/libm-test-ulps: Update.
11351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11353 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11355         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11356         constants.
11357         (norm): Likewise.
11358         (denorm): Likewise.
11359         (__dbl_mp): Likewise.
11360         (add_magnitudes): Likewise.
11361         (sub_magnitudes): Likewise.
11362         (__add): Likewise.
11363         (__sub): Likewise.
11364         (__mul): Likewise.
11365         (__sqr): Likewise.
11366         (__inv): Likewise.
11367         (__dvd): Likewise.
11369         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11370         commented code.
11371         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11372         (__dubcos): Likewise.
11373         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11374         (__ieee754_acos): Likewise.
11375         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11376         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11377         (__exp1): Likewise.
11378         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11379         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11380         (log1): Likewise.
11381         (my_log2): Likewise.
11382         (checkint): Likewise.
11383         * sysdeps/ieee754/dbl-64/e_remainder.c
11384         (__ieee754_remainder): Likewise.
11385         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11386         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11387         (bsloww): Likewise.
11388         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11390         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11391         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11392         MANTISSA_STORE_T to store computations on mantissa.  Use
11393         macros for rounding and division.
11394         (denorm): Likewise.
11395         (__dbl_mp): Likewise.
11396         (add_magnitudes): Likewise.
11397         (sub_magnitudes): Likewise.
11398         (__mul): Likewise.
11399         (__sqr): Likewise.
11400         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11401         powers of two in terms of TWOPOW macro.
11402         (mp_no): Make type of mantissa as MANTISSA_T.
11403         [!RADIXI]: Define RADIXI.
11404         [!TWO52]: Define TWO52.
11405         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11407 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11409         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11410         llroundl symbol when building for PPC32.
11412 2013-03-24  Mark H Weaver  <mhw@netris.org>
11414         * manual/arith.texi (Normalization Functions): Fix prototypes for
11415         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11417 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11419         [BZ #13889]
11420         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11421         high value to check if expl overflow.
11422         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11423         to check for underflow and overflow.
11424         * math/libm-test.inc: Add exp test.
11426 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11428         [BZ #11120]
11429         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11430         with NOT_IN_libc.
11432 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11434         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11435         symbol.
11437 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11439         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11440         wrap blocks consisting of several statements.
11442         * sysdeps/generic/math-tests.h: New file.
11443         * sysdeps/i386/fpu/math-tests.h: Likewise.
11444         * math/test-snan.c: Include it.
11445         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11447 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11449         [BZ #15285]
11450         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11451         (__ieee754_j0l): Do not improve calculations using cos of twice
11452         input for inputs above LDBL_MAX / 2.0L.
11453         (__ieee754_y0l): Likewise.
11454         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11455         (__ieee754_j1l): Do not improve calculations using cos of twice
11456         input for inputs above LDBL_MAX / 2.0L.
11457         (__ieee754_y1l): Likewise.
11458         * math/libm-test.inc (j0_test): Add another test.
11459         (j1_test): Likewise.
11460         (y0_test): Likewise.
11461         (y1_test): Likewise.
11462         * sysdeps/i386/fpu/libm-test-ulps: Update.
11464 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11466         * Rules ($(objpfx)bench-%.c): Include code from a C source
11467         file.
11469 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11471         [BZ #15287]
11472         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11473         imaginary part 1.0 and real part less than 0.5 specially.
11474         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11475         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11476         * math/libm-test.inc (cacos_test): Add more tests.
11477         (casin_test): Likewise.
11478         (casinh_test): Likewise.
11479         * sysdeps/i386/fpu/libm-test-ulps: Update.
11480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11482 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11484         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11485         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11487 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11489         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11490         * config.make.in (config-cflags-sse4): Remove variable.
11491         (config-cflags-avx): Likewise.
11492         (config-cflags-sse2avx): Likewise.
11493         (config-cflags-novzeroupper): Likewise.
11494         (config-asflags-i686): Likewise.
11495         (have-mfma4): Likewise.
11496         (have-as-vis3): Likewise.
11497         (MIG): Likewise.
11498         * configure.in (MIG): Do not AC_SUBST.
11499         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11500         (libc_cv_cc_sse4): Do not AC_SUBST.
11501         (libc_cv_cc_avx): Likewise.
11502         (libc_cv_cc_sse2avx): Likewise.
11503         (libc_cv_cc_novzeroupper): Likewise.
11504         (libc_cv_cc_fma4): Likewise.
11505         (libc_cv_as_i686): Likewise.
11506         (libc_cv_sparc_as_vis3): Likewise.
11507         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11508         LIBC_CONFIG_VAR.
11509         (config-asflags-i686): Likewise.
11510         (config-cflags-avx): Likewise.
11511         (config-cflags-sse2avx): Likewise.
11512         (have-mfma4): Likewise.
11513         (config-cflags-novzeroupper): Likewise.
11514         * sysdeps/mach/configure.in (MIG): Likewise.
11515         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11516         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11517         LIBC_CONFIG_VAR.
11518         (config-cflags-avx): Likewise.
11519         (config-cflags-sse2avx): Likewise.
11520         (have-mfma4): Likewise.
11521         (config-cflags-novzeroupper): Likewise.
11522         * configure: Regenerated.
11523         * sysdeps/i386/configure: Likewise.
11524         * sysdeps/mach/configure: Likewise.
11525         * sysdeps/sparc/configure: Likewise.
11526         * sysdeps/x86_64/configure: Likewise.
11528 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11530         [BZ #14812]
11531         * locale/programs/localedef.c (options): Put N_ translation marker
11532         on argument names, not just descriptions.
11534 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11536         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11538 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11540         [BZ #14176]
11541         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11543 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11545         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11546         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11547         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11548         [!BEFORE_ABORT] (before_abort): New function.
11549         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11550         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11551         (writev_for_fatal): New function.
11552         (WRITEV_FOR_FATAL): New macro; call that.
11553         (backtrace_and_maps): New function.
11554         (BEFORE_ABORT): New macro; call that.
11555         (struct str_list): Type removed.
11556         (__libc_message, __libc_fatal): Functions removed.
11557         Include <sysdeps/posix/libc_fatal.c> instead.
11559 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11561         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11562         constants.
11563         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11564         double constants.
11566 2013-03-19  Andreas Schwab  <schwab@suse.de>
11568         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11569         * sysdeps/gnu/configure: Regenerate.
11571         * configure.in: Substitute libc_cv_rtlddir.
11572         * configure: Regenerate.
11573         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11574         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11575         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11576         * elf/Makefile (install-others, CFLAGS-interp.c)
11577         (ldso_install, common-ldd-rewrite): Likewise.
11578         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11579         $(inst_slibdir)/$(rtld-installed-name).
11580         * scripts/rellns-sh: Add -p option.
11581         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11582         for source.
11584 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11586         * manual/nptl.texi: Renamed to ...
11587         * manual/threads.texi: ... this.
11588         * manual/Makefile (chapters): Update.
11590 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11592         [BZ #14812]
11593         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11594         on argument names, not just descriptions.
11595         * malloc/memusagestat.c (options): Likewise.
11596         * nss/getent.c (options): Likewise.
11598 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11600         [BZ #14812]
11601         * iconv/iconv_prog.c (options): Put N_ translation marker
11602         on argument names, not just descriptions.
11603         * iconv/iconvconfig.c (options): Likewise.
11605 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11607         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11608         implementation which is faster on all x86_64 architectures.
11609         Tested on AMD, Intel Nehalem, SNB, IVB.
11610         * sysdeps/x86_64/strnlen.S: Likewise.
11612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11613         Remove all multiarch strlen and strnlen versions.
11614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11615         Remove strlen and strnlen related parts.
11617         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11618         Inline strlen part.
11619         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11621         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11622         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11623         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11624         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11625         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11626         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11628 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11630         * manual/memory.texi (Malloc Tunable Parameters):
11631         Sort parameters alphabetically. Add comments for missing entries.
11633 2013-03-17  David S. Miller  <davem@davemloft.net>
11635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11637 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11639         [BZ #15283]
11640         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11641         for arguments at most half maximum finite value.
11642         * math/libm-test.inc (j0_test): Add more tests.
11643         (j1_test): Likewise.
11644         (y0_test): Likewise.
11645         (y1_test): Likewise.
11646         * sysdeps/i386/fpu/libm-test-ulps: Update.
11647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11649         [BZ #14155]
11650         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11651         1 / x and functions P and Q for arguments above 0x1p256L.
11652         (__ieee754_y0l): Likewise.
11653         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11654         (__ieee754_y1l): Likewise.
11655         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11656         (j1_test): Likewise.
11657         (y0_test): Likewise.
11658         (y1_test): Likewise.
11660 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11662         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11663         variable.
11665 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11667         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11668         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11669         zero since it's initialized to EXEC_PAGESIZE.
11671         * sysdeps/unix/sysv/linux/ldsodefs.h
11672         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11673         * sysdeps/generic/ldsodefs.h: ... here.
11675 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11677         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11679         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11680         math/test-snan.c.
11681         * math/test-snan.c: Renamed from
11682         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11683         * math/Makefile (tests): Add test-snan.
11684         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11685         test-powerpc-snan.
11687         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11688         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11689         functions.
11690         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11691         __builtin_nan family of functions.
11692         * math/libm-test.inc (initialize): Initialize qnan_value with
11693         __builtin_nan family of functions.
11694         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11695         Remove variables.
11696         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11697         Remove functions.
11698         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11699         storage class.  Initialize qNaN_var and sNaN_var with
11700         __builtin_nan and __builtin_nans families of functions,
11701         respectively.
11703         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11704         (sqrt_test): Remove duplicate test with qNaN input.
11705         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11706         (round_test, signbit_test, significand_test): Note missing +/-Inf
11707         as well as qNaN tests.
11709         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11710         qNaN_var.  Fix a few strings, too.
11711         * math/libm-test.inc (nan_value): Rename to qnan_value.
11712         * math/gen-libm-test.pl (%beautify): Adjust to that.
11713         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11714         * math/test-misc.c (main): Likewise.
11715         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11716         to __qnan_bytes, and __qnan_union, respectively.
11717         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11718         Likewise.
11719         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11720         and lqnanval, respectively.
11721         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11722         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11723         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11724         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11726         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11727         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11728         doubles.
11730         * math/test-misc.c (main): Fix copy'n'pastos.
11731         * misc/tst-efgcvt.c (special): Likewise.
11733         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11734         Remove declarations.
11736 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11738         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11739         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11740         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11741         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11743 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11745         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11746         macro to return vdso values correctly in IFUNC implementations.
11747         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11748         Optimization by using IFUNC.
11750 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11751             Richard Henderson  <rth@redhat.com>
11752             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11754         * Makefile.in (bench): New target.
11755         * NEWS: Mention the benchmark framework.
11756         * Rules (bench): Likewise.
11757         (binaries-bench): Generate binaries for functions to
11758         benchmark.
11759         * benchtests/Makefile: New makefile for benchmark tests.
11760         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11761         programs.
11762         * benchtests/exp-inputs: New input file for EXP function.
11763         * benchtests/pow-inputs: New input file for POW function.
11764         * scripts/bench.pl: New script to generate source files for
11765         benchmark programs.
11767 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11769         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11770         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11771         computations on mantissa.  Use macros for rounding and
11772         division.
11773         (denorm): Likewise.
11774         (__dbl_mp): Likewise.
11775         (add_magnitudes): Likewise.
11776         (sub_magnitudes): Likewise.
11777         (__mul): Likewise.
11778         (__sqr): Likewise.
11779         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11780         powers of two in terms of TWOPOW macro.
11781         (mp_no): Make type of mantissa as MANTISSA_T.
11782         [!RADIXI]: Define RADIXI.
11783         [!TWO52]: Define TWO52.
11784         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11786         * manual/nptl.texi (cindex): Modify threads to pthreads.
11788 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11790         * sysdeps/x86_64/preconfigure: Regenerated.
11792 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11794         [BZ #14155]
11795         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11796         0x1p28 and above.
11797         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11798         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11799         0x1p28 and above.
11800         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11801         * math/libm-test.inc (j0_test): Do not allow one spurious
11802         underflow exception.
11803         (y1_test): Likewise.
11805 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11807         * manual/Makefile (chapters): Add nptl.
11808         * manual/debug.texi (Debugging Support): Add link to Threads
11809         chapter.
11810         * manual/nptl.texi: New file.
11812         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11814 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11816         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11817         for non-NULL pointer before the memory validity test. Pointed
11818         out by Holger Brunck <holger.brunck@keymile.com>.
11820 2013-03-13  Andreas Schwab  <schwab@suse.de>
11822         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11823         instead of .os.
11825 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11827         * timezone/zic.c: Update from tzcode 2013b.
11829 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11831         * manual/install.texi (Configuring and compiling):
11832         Mention i686 and i586.
11833         * INSTALL: Regenerate.
11835 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11837         * sysdeps/init_array/elf-init.c: New file.
11838         * csu/elf-init.c
11839         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11840         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11842         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11843         __gmon_start__ as global, but as static with a .preinit_array pointer.
11844         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11845         * sysdeps/init_array/crti.S: New file, empty except for comments.
11846         * sysdeps/init_array/crtn.S: Likewise.
11848 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11850         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11851         definining bcopy.
11852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11853         Remove Prefer_SSE_for_memop.
11854         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11855         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11856         HAS_PREFER_SSE_FOR_MEMOP.
11857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11858         memset-x86-64.
11859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11860         Remove bzero, memset ifunc support.
11861         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11862         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11863         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11864         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11866 2013-03-11  Andreas Schwab  <schwab@suse.de>
11868         [BZ #15234]
11869         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11870         by SHLIB_COMPAT.
11871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11872         (GLIBC_2.16): Remove pthread_atfork.
11874 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11876         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11877         (ptestcases.h): Likewise.
11879 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11881         * Makeconfig ($(common-objpfx)config.status): Depend on
11882         sysdeps/*/preconfigure{,.in} too.
11884 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11886         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11887         (__free_hook): Use void * instead of __malloc_ptr_t.
11888         (__malloc_hook): Likewise.
11889         (__realloc_hook): Likewise.
11890         (__memalign_hook): Likewise.
11891         (__after_morecore_hook): Likewise.
11892         * malloc/arena.c (save_malloc_hook): Likewise.
11893         (save_free_hook): Likewise.
11894         * malloc/hooks.c (malloc_hook_ini): Likewise.
11895         (realloc_hook_ini): Likewise.
11896         (memalign_hook_ini): Likewise.
11897         * malloc/malloc.c (malloc_hook_ini): Likewise.
11898         (realloc_hook_ini): Likewise.
11899         (memalign_hook_ini): Likewise.
11900         (__free_hook): Likewise.
11901         (__malloc_hook): Likewise.
11902         (__realloc_hook): Likewise.
11903         (__memalign_hook): Likewise.
11904         (__libc_malloc): Likewise.
11905         (__libc_free): Likewise.
11906         (__libc_realloc): Likewise.
11907         (__libc_memalign): Likewise.
11908         (__libc_valloc): Likewise.
11909         (__libc_pvalloc): Likewise.
11910         (__libc_calloc): Likewise.
11911         (__posix_memalign): Likewise.
11912         * malloc/morecore.c (__sbrk): Likewise.
11913         (__default_morecore): Likewise.
11915         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11917         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11918         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11919         __malloc_ptrdiff_t.
11921         * malloc/malloc.h (__malloc_size_t): Remove macro.
11922         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11923         __malloc_size_t.
11924         (old_memalign_hook): Likewise.
11925         (old_realloc_hook): Likewise.
11926         (struct hdr): Likewise.
11927         (flood): Likewise.
11928         (mallochook): Likewise.
11929         (memalignhook): Likewise.
11930         (reallochook): Likewise.
11931         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11932         (tr_old_realloc_hook): Likewise.
11933         (tr_old_memalign_hook): Likewise.
11934         (tr_mallochook): Likewise.
11935         (tr_reallochook): Likewise.
11936         (tr_memalignhook): Likewise.
11938 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11941         default_ldbl_pack and using as default implementation.
11942         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11943         implementation.
11944         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11945         redundant definition.
11946         (ldbl_insert_mantissa): Likewise.
11947         (ldbl_canonicalize): Likewise.
11948         (ldbl_nearbyint): Likewise.
11949         (ldbl_pack): Rename to ldbl_pack_ppc.
11950         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11951         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11952         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11954 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11957         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11958         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11959         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11961         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11962         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11963         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11965 2013-03-07  Andreas Jaeger  <aj@suse.de>
11967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11968         bits/mman-linux.h.
11970 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11972         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11973         Include mpa.h and declare __MPEXP.
11974         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11975         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11976         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11977         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11978         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11979         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11980         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11982         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11983         (__slowpow): Use long double EXPL and LOGL functions to
11984         compute POW.
11985         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11986         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11987         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11988         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11989         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11990         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11993         intermediate variable to calculate exponent.
11994         (__sqr): Likewise.
11995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11996         Likewise.
11997         (__sqr): Likewise.
11999         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12000         [!NO__SQR]: Define __sqr.
12001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12002         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12003         sysdeps/ieee754/dbl-64/mpa.c.
12004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12006         [BZ #12723]
12007         * posix/Makefile (tests): Add tst-pathconf.
12008         * posix/tst-pathconf.c: New test case.
12009         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12010         _PC_PIPE_BUF.
12011         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12013 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12015         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12017 2013-03-06  Andreas Jaeger  <aj@suse.de>
12019         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12020         definition via __MAP_ANONYMOUS.
12022         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12023         it's not part of Linux headers.
12025         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12026         (MAP_HUGE_MASK): Define.
12028         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12029         Define.
12030         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12031         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12032         Define.
12033         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12034         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12035         Define.
12036         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12037         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12038         Define.
12039         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12041         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12042         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12043         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12044         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12045         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12046         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12048         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12049         Handle f2fs.
12051         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12052         Handle f2fs and efivarfs.
12054         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12055         f2fs.
12057         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12058         (EFIVARFS_MAGIC): Add.
12059         (F2FS_LINK_MAX): Add.
12061 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12063         * stdio-common/vfprintf.c: Replace __builtin_expect with
12064         __glibc_unlikely.
12066 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12068         [BZ #13550]
12069         * sysdeps/generic/bp-sym.h: Remove file.
12070         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12071         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12072         <bp-sym.h> and <bp-asm.h>.
12073         (__longjmp): Don't use BP_SYM.
12074         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12075         and <bp-asm.h>.
12076         (memcpy): Don't use BP_SYM.
12077         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12078         <bp-sym.h> and <bp-asm.h>.
12079         (memcpy): Don't use BP_SYM.
12080         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12081         <bp-asm.h>.
12082         (memcpy): Don't use BP_SYM.
12083         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12084         <bp-asm.h>.
12085         (memset): Don't use BP_SYM.
12086         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12087         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12088         (__bzero): Don't use BP_SYM.
12089         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12090         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12091         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12092         <bp-sym.h> and <bp-asm.h>.
12093         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12094         pointers.
12095         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12096         <bp-sym.h> and <bp-asm.h>.
12097         (memcpy): Don't use BP_SYM.
12098         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12099         <bp-sym.h> and <bp-asm.h>.
12100         (memset): Don't use BP_SYM.
12101         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12102         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12103         (__bzero): Don't use BP_SYM.
12104         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12105         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12106         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12107         <bp-sym.h> and <bp-asm.h>.
12108         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12109         pointers.
12110         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12111         <bp-sym.h> and <bp-asm.h>.
12112         (memcpy): Don't use BP_SYM.
12113         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12114         <bp-sym.h> and <bp-asm.h>.
12115         (memset): Don't use BP_SYM.
12116         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12117         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12118         (__bzero): Don't use BP_SYM.
12119         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12120         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12121         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12122         <bp-sym.h> and <bp-asm.h>.
12123         (__memchr): Don't use BP_SYM.
12124         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12125         <bp-sym.h> and <bp-asm.h>.
12126         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12127         pointers.
12128         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12129         <bp-sym.h> and <bp-asm.h>.
12130         (memcpy): Don't use BP_SYM.
12131         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12132         <bp-sym.h> and <bp-asm.h>.
12133         (__mempcpy): Don't use BP_SYM.
12134         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12135         <bp-sym.h> and <bp-asm.h>.
12136         (__memrchr): Don't use BP_SYM.
12137         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12138         <bp-sym.h> and <bp-asm.h>.
12139         (memset): Don't use BP_SYM.
12140         (__bzero): Likewise.
12141         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12142         <bp-sym.h> and <bp-asm.h>.
12143         (__rawmemchr): Don't use BP_SYM.
12144         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12145         <bp-sym.h> and <bp-asm.h>.
12146         (__STRCMP): Don't use BP_SYM.
12147         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12148         <bp-sym.h> and <bp-asm.h>.
12149         (strchr): Don't use BP_SYM.
12150         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12151         <bp-sym.h> and <bp-asm.h>.
12152         (__strchrnul): Don't use BP_SYM.
12153         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12154         <bp-sym.h> and <bp-asm.h>.
12155         (strlen): Don't use BP_SYM.
12156         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12157         <bp-sym.h> and <bp-asm.h>.
12158         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12159         pointers.
12160         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12161         <bp-sym.h> and <bp-asm.h>.
12162         (__strnlen): Don't use BP_SYM.
12163         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12164         <bp-sym.h> and <bp-asm.h>.
12165         (__GI__setjmp): Don't use BP_SYM.
12166         (_setjmp): Likewise.
12167         (__sigsetjmp): Likewise.
12168         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12169         (L(start_addresses)): Don't use BP_SYM.
12170         (_start): Likewise.
12171         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12172         <bp-asm.h>.
12173         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12174         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12175         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12176         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12177         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12178         <bp-asm.h>.
12179         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12180         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12181         about bounded pointers.
12182         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12183         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12184         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12185         <bp-asm.h>.
12186         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12187         about bounded pointers.  Remove GKM FIXME comments.
12188         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12189         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12190         <bp-asm.h>.
12191         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12192         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12193         Remove GKM FIXME comments.
12194         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12195         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12196         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12197         <bp-asm.h>.
12198         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12199         about bounded pointers.  Remove GKM FIXME comment.
12200         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12201         and <bp-asm.h>.
12202         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12203         pointers.
12204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12205         <bp-sym.h> and <bp-asm.h>.
12206         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12208         <bp-sym.h> and <bp-asm.h>.
12209         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12210         comment.
12212 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12214         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12215         call free(NULL).
12217 2013-03-05  David S. Miller  <davem@davemloft.net>
12219         * po/es.po: Update from translation team.
12221 2013-03-05  Andreas Jaeger  <aj@suse.de>
12223         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12224         <bits/mman-linux.h>.
12225         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12226         is fine.
12227         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12228         <bits/mman-linux.h> to end of file.
12229         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12230         is fine.
12231         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12232         <bits/mman-linux.h> to end of file.
12233         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12234         is fine.
12235         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12236         <bits/mman-linux.h> to end of file.
12238         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12239         (MCL_CURRENT, MCL_FUTURE): Define here.
12241 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12243         [BZ #15232]
12244         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12245         attribute_hidden.
12246         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12248 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12250         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12251         fourth parameter needed for rt_sigprocmask syscall.
12252         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12253         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12254         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12255         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12256         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12257         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12259 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12261         [BZ #13550]
12262         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12263         comment about bounded pointers.
12264         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12265         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12267 2013-03-04  Andreas Jaeger  <aj@suse.de>
12269         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12270         common definitions.
12272         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12273         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12274         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12275         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12276         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12277         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12279 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12281         [BZ #15055]
12282         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12283         __ieee754_sqrl instead of __sqrl.
12285 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12287         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12288         * sysdeps/powerpc/fpu_control.h: ... here.
12289         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12290         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12291         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12292         * sysdeps/powerpc/bits/mathinline.h: ... here.
12294 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12296         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12297         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12298         to just [NEED_DL_SYSINFO_DSO].
12299         * elf/dl-support.c: Likewise.
12300         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12301         * elf/rtld.c (dl_main): Likewise.
12302         * elf/setup-vdso.h (setup_vdso): Likewise.
12303         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12304         * sysdeps/unix/sysv/linux/dl-sysdep.c
12305         (_dl_discover_osversion): Likewise.
12307 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12309         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12310         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12312 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12314         * NEWS: Mention libm performance improvements and non-x86 PI
12315         futex support.
12317         * csu/libc-start.c (__pthread_initialize_minimal): Change
12318         function arguments.
12319         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12321 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12323         [BZ #13550]
12324         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12325         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12326         <bp-sym.h> and <bp-asm.h>.
12327         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12328         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12329         and <bp-asm.h>.
12330         (memcpy): Don't use BP_SYM.
12331         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12332         <bp-asm.h>.
12333         (__mpn_add_n): Don't use BP_SYM.
12334         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12335         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12336         and <bp-asm.h>.
12337         (__mpn_addmul_1): Don't use BP_SYM.
12338         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12339         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12340         <bp-sym.h>.
12341         (_setjmp): Don't use BP_SYM.
12342         (__novmx_setjmp): Likewise.
12343         (__GI__setjmp): Likewise.
12344         (__vmx_setjmp): Likewise.
12345         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12346         <bp-sym.h>.
12347         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12348         (__bzero): Don't use BP_SYM.
12349         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12350         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12351         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12352         <bp-sym.h> and <bp-asm.h>.
12353         (memcpy): Don't use BP_SYM.
12354         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12355         <bp-sym.h> and <bp-asm.h>.
12356         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12357         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12358         <bp-sym.h> and <bp-asm.h>.
12359         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12360         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12361         <bp-asm.h>.
12362         (__mpn_lshift): Don't use BP_SYM.
12363         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12364         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12365         <bp-asm.h>.
12366         (memset): Don't use BP_SYM.
12367         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12368         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12369         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12370         <bp-asm.h>.
12371         (__mpn_mul_1): Don't use BP_SYM.
12372         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12373         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12374         <bp-sym.h> and <bp-asm.h>.
12375         (memcmp): Don't use BP_SYM.
12376         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12377         <bp-sym.h> and <bp-asm.h>.
12378         (memcpy): Don't use BP_SYM.
12379         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12380         <bp-sym.h> and <bp-asm.h>.
12381         (memset): Don't use BP_SYM.
12382         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12383         <bp-sym.h> and <bp-asm.h>.
12384         (strncmp): Don't use BP_SYM.
12385         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12386         <bp-sym.h> and <bp-asm.h>.
12387         (memcpy): Don't use BP_SYM.
12388         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12389         <bp-sym.h> and <bp-asm.h>.
12390         (memset): Don't use BP_SYM.
12391         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12392         <bp-sym.h> and <bp-asm.h>.
12393         (__memchr): Don't use BP_SYM.
12394         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12395         <bp-sym.h> and <bp-asm.h>.
12396         (memcmp): Don't use BP_SYM.
12397         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12398         <bp-sym.h> and <bp-asm.h>.
12399         (memcpy): Don't use BP_SYM.
12400         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12401         <bp-sym.h> and <bp-asm.h>.
12402         (__mempcpy): Don't use BP_SYM.
12403         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12404         <bp-sym.h> and <bp-asm.h>.
12405         (__memrchr): Don't use BP_SYM.
12406         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12407         <bp-sym.h> and <bp-asm.h>.
12408         (memset): Don't use BP_SYM.
12409         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12410         <bp-sym.h> and <bp-asm.h>.
12411         (__rawmemchr): Don't use BP_SYM.
12412         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12413         <bp-sym.h> and <bp-asm.h>.
12414         (__STRCMP): Don't use BP_SYM.
12415         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12416         <bp-sym.h> and <bp-asm.h>.
12417         (strchr): Don't use BP_SYM.
12418         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12419         <bp-sym.h> and <bp-asm.h>.
12420         (__strchrnul): Don't use BP_SYM.
12421         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12422         <bp-sym.h> and <bp-asm.h>.
12423         (strlen): Don't use BP_SYM.
12424         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12425         <bp-sym.h> and <bp-asm.h>.
12426         (strncmp): Don't use BP_SYM.
12427         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12428         <bp-sym.h> and <bp-asm.h>.
12429         (__strnlen): Don't use BP_SYM.
12430         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12431         <bp-asm.h>.
12432         (__mpn_rshift): Don't use BP_SYM.
12433         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12434         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12435         <bp-sym.h> and <bp-asm.h>.
12436         (__sigsetjmp): Don't use BP_SYM.
12437         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12438         (L(start_addresses)): Don't use BP_SYM.
12439         (_start): Likewise.
12440         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12441         <bp-asm.h>.
12442         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12443         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12444         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12445         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12446         <bp-asm.h>.
12447         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12448         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12449         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12450         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12451         <bp-asm.h>.
12452         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12453         comments.
12454         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12455         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12456         <bp-asm.h>.
12457         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12458         FIXME comments.
12459         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12460         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12461         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12462         <bp-asm.h>.
12463         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12464         comment.
12465         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12466         and <bp-asm.h>.
12467         (strncmp): Don't use BP_SYM,
12468         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12469         <bp-asm.h>.
12470         (__mpn_sub_n): Don't use BP_SYM.
12471         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12472         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12473         and <bp-asm.h>.
12474         (__mpn_submul_1): Don't use BP_SYM.
12475         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12477         <bp-sym.h> and <bp-asm.h>.
12478         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12480         <bp-sym.h> and <bp-asm.h>.
12481         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12482         comment.
12484 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12487         Use ZK to minimize writes to Z.
12488         (sub_magnitudes): Simplify code a bit.
12489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12490         Use ZK to minimize writes to Z.
12491         (sub_magnitudes): Simplify code a bit.
12493 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12495         * csu/gmon-start.c: Add special exception to license text.
12497 2013-02-27  Richard Henderson  <rth@redhat.com>
12499         * scripts/config.guess: Update from config.git.
12500         * scripts/config.sub: Likewise.
12502 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12504         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12506         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12508         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12510         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12512         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12514 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12516         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12517         [$(build-shared = yes].
12519 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12521         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12522         (__mul): Reduce iterations for calculating mantissa.
12524         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12525         MPTWO.
12526         (__mpranred): Likewise.
12528         [BZ #15160]
12529         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12530         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12532 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12534         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12535         Define __attribute__.
12537 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12539         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12540         unused.
12541         * posix/regex_internal.h (__attribute): Remove.
12542         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12543         (re_string_context_at): Likewise.
12544         (bitset_not): Use __attribute__ and mark function as possibly
12545         unused.
12546         (bitset_merge): Likewise.
12547         (bitset_mask): Likewise.
12548         (re_string_char_size_at): Likewise.
12549         (re_string_wchar_at): Likewise.
12550         (re_string_elem_size_at): Likewise.
12552 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12554         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12555         code.
12556         (cc32): Likewise.
12558         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12559         (__acr): Likewise.
12560         (__cpy): Likewise.
12561         (norm): Likewise.
12562         (denorm): Likewise.
12563         (__dbl_mp): Likewise.
12564         (add_magnitudes): Likewise.
12565         (sub_magnitudes): Likewise.
12566         (__mul): Likewise.
12567         (__inv): Likewise.
12569         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12570         style.
12572         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12573         style.
12575         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12576         code.
12578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12579         up changes with default code.
12580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12581         Likewise.
12583 2013-02-24  Allan McRae  <allan@archlinux.org>
12585         * manual/socket.texi (The Internet Namespace): Order menu items
12586         to match that in the file.
12588         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12589         node listing of the info page menu.
12591 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12593         [BZ #13550]
12594         * sysdeps/i386/bp-asm.h: Remove file.
12595         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12596         (PARMS): Do not use macros from bp-asm.h.
12597         (S1): Likewise.
12598         (S2): Likewise.
12599         (SIZE): Likewise.
12600         (__mpn_add_n): Do not use BP_SYM
12601         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12602         "bp-asm.h".
12603         (PARMS): Do not use macros from bp-asm.h.
12604         (S1): Likewise.
12605         (SIZE): Likewise.
12606         (__mpn_addmul_1): Do not use BP_SYM
12607         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12608         "bp-asm.h".
12609         (PARMS): Do not use macros from bp-asm.h.
12610         (SIGMSK): Likewise.
12611         (_setjmp): Likewise.  Do not use BP_SYM.
12612         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12613         "bp-asm.h".
12614         (PARMS): Do not use macros from bp-asm.h.
12615         (SIGMSK): Likewise.
12616         (setjmp): Likewise.  Do not use BP_SYM.
12617         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12618         "bp-asm.h".
12619         (PARMS): Do not use macros from bp-asm.h.
12620         (__frexp): Do not use BP_SYM.
12621         (frexp): Likewise.
12622         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12623         "bp-asm.h".
12624         (PARMS): Do not use macros from bp-asm.h.
12625         (__frexpf): Do not use BP_SYM.
12626         (frexpf): Likewise.
12627         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12628         "bp-asm.h".
12629         (PARMS): Do not use macros from bp-asm.h.
12630         (__frexpl): Do not use BP_SYM.
12631         (frexpl): Likewise.
12632         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12633         "bp-asm.h".
12634         (PARMS): Do not use macros from bp-asm.h.
12635         (__remquo): Do not use BP_SYM.
12636         (remquo): Likewise.
12637         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12638         "bp-asm.h".
12639         (PARMS): Do not use macros from bp-asm.h.
12640         (__remquof): Do not use BP_SYM.
12641         (remquof): Likewise.
12642         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12643         "bp-asm.h".
12644         (PARMS): Do not use macros from bp-asm.h.
12645         (__remquol): Do not use BP_SYM.
12646         (remquol): Likewise.
12647         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12648         "bp-asm.h".
12649         (PARMS): Do not use macros from bp-asm.h.
12650         (DEST): Likewise.
12651         (SRC): Likewise.
12652         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12653         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12654         "bp-asm.h".
12655         (PARMS): Do not use macros from bp-asm.h.
12656         (strlen): Do not use BP_SYM.
12657         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12658         "bp-asm.h".
12659         (PARMS): Do not use macros from bp-asm.h.
12660         (S1): Likewise.
12661         (S2): Likewise.
12662         (SIZE): Likewise.
12663         (__mpn_add_n): Do not use BP_SYM.
12664         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12665         "bp-asm.h".
12666         (PARMS): Do not use macros from bp-asm.h.
12667         (S1): Likewise.
12668         (SIZE): Likewise.
12669         (__mpn_addmul_1): Do not use BP_SYM.
12670         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12671         weak_alias.
12672         (bzero): Likewise.
12673         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12674         "bp-asm.h".
12675         (PARMS): Do not use macros from bp-asm.h.
12676         (S): Likewise.
12677         (SIZE): Likewise.
12678         (__mpn_lshift): Do not use BP_SYM.
12679         * sysdeps/i386/i586/memcpy.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         (SRC): Likewise.
12684         (LEN): Likewise.
12685         (memcpy): Likewise.  Do not use BP_SYM.
12686         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12687         libc_hidden_def and weak_alias.
12688         (mempcpy): Do not use BP_SYM in weak_alias.
12689         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12690         "bp-asm.h".
12691         (PARMS): Do not use macros from bp-asm.h.
12692         (DEST): Likewise.
12693         (LEN): Likewise.
12694         [!BZERO_P] (CHR): Likewise.
12695         (memset): Likewise.  Do not use BP_SYM.
12696         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12697         "bp-asm.h".
12698         (PARMS): Do not use macros from bp-asm.h.
12699         (S1): Likewise.
12700         (SIZE): Likewise.
12701         (__mpn_mul_1): Do not use BP_SYM.
12702         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12703         "bp-asm.h".
12704         (PARMS): Do not use macros from bp-asm.h.
12705         (S): Likewise.
12706         (SIZE): Likewise.
12707         (__mpn_rshift): Do not use BP_SYM.
12708         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12709         "bp-asm.h".
12710         (PARMS): Do not use macros from bp-asm.h.
12711         (STR): Likewise.
12712         (CHR): Likewise.
12713         (strchr): Likewise.  Do not use BP_SYM.
12714         (index): Do not use BP_SYM in weak_alias.
12715         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12716         "bp-asm.h".
12717         (PARMS): Do not use macros from bp-asm.h.
12718         (DEST): Likewise.
12719         (SRC): Likewise.
12720         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12721         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12722         "bp-asm.h".
12723         (PARMS): Do not use macros from bp-asm.h.
12724         (strlen): Do not use BP_SYM.
12725         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12726         "bp-asm.h".
12727         (PARMS): Do not use macros from bp-asm.h.
12728         (S1): Likewise.
12729         (S2): Likewise.
12730         (SIZE): Likewise.
12731         (__mpn_sub_n): Do not use BP_SYM.
12732         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12733         "bp-asm.h".
12734         (PARMS): Do not use macros from bp-asm.h.
12735         (S1): Likewise.
12736         (SIZE): Likewise.
12737         (__mpn_submul_1): Do not use BP_SYM.
12738         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12739         "bp-asm.h".
12740         (PARMS): Do not use macros from bp-asm.h.
12741         (S1): Likewise.
12742         (S2): Likewise.
12743         (SIZE): Likewise.
12744         (__mpn_add_n): Do not use BP_SYM.
12745         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12746         weak_alias.
12747         (bzero): Likewise.
12748         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12749         "bp-asm.h".
12750         (PARMS): Do not use macros from bp-asm.h.
12751         (BLK2): Likewise.
12752         (LEN): Likewise.
12753         (memcmp): Do not use BP_SYM.
12754         (bcmp): Do not use BP_SYM in weak_alias.
12755         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12756         "bp-asm.h".
12757         (PARMS): Do not use macros from bp-asm.h.
12758         (DEST): Likewise.
12759         (SRC): Likewise.
12760         (LEN): Likewise.
12761         (memcpy): Likewise.  Do not use BP_SYM.
12762         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12763         "bp-asm.h".
12764         (PARMS): Do not use macros from bp-asm.h.
12765         (DEST): Likewise.
12766         (SRC): Likewise.
12767         (LEN): Likewise.
12768         (memmove): Likewise.  Do not use BP_SYM.
12769         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12770         "bp-asm.h".
12771         (PARMS): Do not use macros from bp-asm.h.
12772         (DEST): Likewise.
12773         (SRC): Likewise.
12774         (LEN): Likewise.
12775         (__mempcpy): Likewise.  Do not use BP_SYM.
12776         (mempcpy): Do not use BP_SYM in weak_alias.
12777         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12778         "bp-asm.h".
12779         (PARMS): Do not use macros from bp-asm.h.
12780         (DEST): Likewise.
12781         (LEN): Likewise.
12782         [!BZERO_P] (CHR): Likewise.
12783         (memset): Likewise.  Do not use BP_SYM.
12784         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12785         "bp-asm.h".
12786         (PARMS): Do not use macros from bp-asm.h.
12787         (STR2): Likewise.
12788         (strcmp): Do not use BP_SYM.
12789         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12790         "bp-asm.h".
12791         (PARMS): Do not use macros from bp-asm.h.
12792         (STR): Likewise.
12793         (DELIM): Likewise.
12794         [USE_AS_STRTOK_R] (SAVE): Likewise.
12795         (FUNCTION): Likewise.  Do not use BP_SYM.
12796         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12797         aliases.
12798         (strtok_r): Likewise.
12799         (__GI___strtok_r): Likewise.
12800         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12801         (PARMS): Do not use macros from bp-asm.h.
12802         (S): Likewise.
12803         (SIZE): Likewise.
12804         (__mpn_lshift): Do not use BP_SYM.
12805         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12806         (PARMS): Do not use macros from bp-asm.h.
12807         (STR): Likewise.
12808         (CHR): Likewise.
12809         (__memchr): Do not use BP_SYM.
12810         (memchr): Do not use BP_SYM in weak_alias.
12811         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12812         (PARMS): Do not use macros from bp-asm.h.
12813         (BLK2): Likewise.
12814         (LEN): Likewise.
12815         (memcmp): Do not use BP_SYM.
12816         (bcmp): Do not use BP_SYM in weak_alias.
12817         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12818         (PARMS): Do not use macros from bp-asm.h.
12819         (S1): Likewise.
12820         (SIZE): Likewise.
12821         (__mpn_mul_1): Do not use BP_SYM.
12822         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12823         "bp-asm.h".
12824         (PARMS): Do not use macros from bp-asm.h.
12825         (STR): Likewise.
12826         (CHR): Likewise.
12827         (__rawmemchr): Do not use BP_SYM.
12828         (rawmemchr): Do not use BP_SYM in weak_alias.
12829         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12830         (PARMS): Do not use macros from bp-asm.h.
12831         (S): Likewise.
12832         (SIZE): Likewise.
12833         (__mpn_rshift): Do not use BP_SYM.
12834         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12835         (PARMS): Do not use macros from bp-asm.h.
12836         (SIGMSK): Likewise.
12837         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12838         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12839         (_start): Do not use BP_SYM.
12840         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12841         (PARMS): Do not use macros from bp-asm.h.
12842         (DEST): Likewise.
12843         (SRC): Likewise.
12844         (__stpcpy): Likewise.  Do not use BP_SYM.
12845         (stpcpy): Do not use BP_SYM in weak_alias.
12846         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12847         "bp-asm.h".
12848         (PARMS): Do not use macros from bp-asm.h.
12849         (DEST): Likewise.
12850         (SRC): Likewise.
12851         (LEN): Likewise.
12852         (__stpncpy): Likewise.  Do not use BP_SYM.
12853         (stpncpy): Do not use BP_SYM in weak_alias.
12854         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12855         (PARMS): Do not use macros from bp-asm.h.
12856         (STR): Likewise.
12857         (CHR): Likewise.
12858         (strchr): Likewise.  Do not use BP_SYM.
12859         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12860         "bp-asm.h".
12861         (PARMS): Do not use macros from bp-asm.h.
12862         (STR): Likewise.
12863         (CHR): Likewise.
12864         (__strchrnul): Likewise.  Do not use BP_SYM.
12865         (strchrnul): Do not use BP_SYM in weak_alias.
12866         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12867         "bp-asm.h".
12868         (PARMS): Do not use macros from bp-asm.h.
12869         (STOP): Likewise.
12870         (strcspn): Do not use BP_SYM.
12871         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12872         "bp-asm.h".
12873         (PARMS): Do not use macros from bp-asm.h.
12874         (STR): Likewise.
12875         (STOP): Likewise.
12876         (strpbrk): Likewise.  Do not use BP_SYM.
12877         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12878         "bp-asm.h".
12879         (PARMS): Do not use macros from bp-asm.h.
12880         (STR): Likewise.
12881         (CHR): Likewise.
12882         (strrchr): Likewise.  Do not use BP_SYM.
12883         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12884         (PARMS): Do not use macros from bp-asm.h.
12885         (SKIP): Likewise.
12886         (strspn): Do not use BP_SYM.
12887         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12888         (PARMS): Do not use macros from bp-asm.h.
12889         (STR): Likewise.
12890         (DELIM): Likewise.
12891         (SAVE): Likewise.
12892         (FUNCTION): Likewise.  Do not use BP_SYM.
12893         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12894         aliases.
12895         (strtok_r): Likewise.
12896         (__GI___strtok_r): Likewise.
12897         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12898         (PARMS): Do not use macros from bp-asm.h.
12899         (S1): Likewise.
12900         (S2): Likewise.
12901         (SIZE): Likewise.
12902         (__mpn_sub_n): Do not use BP_SYM.
12903         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12904         "bp-asm.h".
12905         (PARMS): Do not use macros from bp-asm.h.
12906         (S1): Likewise.
12907         (SIZE): Likewise.
12908         (__mpn_submul_1): Do not use BP_SYM.
12909         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12910         <bp-sym.h>.
12911         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12912         and <bp-asm.h>.
12913         (PARMS): Do not use macros from bp-asm.h.
12914         (FLAGS): Likewise.
12915         (PTID): Likewise.
12916         (TLS): Likewise.
12917         (CTID): Likewise.
12918         (__clone): Do not use BP_SYM.
12919         (clone): Do not use BP_SYM in weak_alias.
12920         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12921         and <bp-asm.h>.
12922         (PARMS): Do not use macros from bp-asm.h.
12923         (LEN): Likewise.
12924         (__mmap64): Do not use BP_SYM.
12925         (mmap64): Do not use BP_SYM in weak_alias.
12926         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12927         <bp-sym.h> and <bp-asm.h>.
12928         (PARMS): Do not use macros from bp-asm.h.
12929         (__posix_fadvise64_l64): Do not use BP_SYM.
12930         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12931         (PARMS): Do not use macros from bp-asm.h.
12932         (NSOPS): Likewise.
12933         (semtimedop): Do not use BP_SYM.
12934         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12935         and <bp-asm.h>.
12937 2013-02-21  Allan McRae  <allan@archlinux.org>
12939         * manual/message.texi (Charset conversion in gettext):
12940         Move @end statement to beginning of line.
12942 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12945         static.
12946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12947         Likewise.
12949         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12950         (denorm): Likewise.
12951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12954 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12956         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12957         tail-call to the resolved function if pltexit isn't needed.
12959 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12961         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12962         or Y being zero as being unlikely.
12963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12964         Likewise.
12966 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12968         * manual/nss.texi (System Databases and Name Service Switch):
12969         Remove frobnicate @pxref.
12971 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12973         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12974         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12976 2013-02-20  Petr Machata  <pmachata@redhat.com>
12978         * elf/elf.h (R_ARM_TARGET1): New macro.
12979         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12980         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12981         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12982         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12983         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12984         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12985         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12986         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12987         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12988         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12989         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12990         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12991         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12992         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12993         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12994         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12995         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12996         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12997         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12998         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12999         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13000         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13001         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13002         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13003         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13004         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13005         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13006         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13007         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13008         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13009         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13010         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13011         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13012         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13013         (R_ARM_THM_GOT_BREL12): Likewise.
13014         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13015         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13016         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13017         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13018         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13019         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13020         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13021         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13022         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13024 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13026         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13027         __attribute_used__ to __attribute__ ((unused)).
13029 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13031         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13032         powerpc mpa.c.
13033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13034         comment formatting.
13035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13037 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13039         [BZ #13550]
13040         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13041         Remove macro.
13042         (ENTER): Remove both macro definitions.
13043         (LEAVE): Likewise.
13044         (CHECK_BOUNDS_LOW): Likewise.
13045         (CHECK_BOUNDS_HIGH): Likewise.
13046         (CHECK_BOUNDS_BOTH): Likewise.
13047         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13048         (RETURN_BOUNDED_POINTER): Likewise.
13049         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13050         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13051         (POP_ERRNO_LOCATION_RETURN): Likewise.
13052         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13053         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13054         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13055         macros.
13056         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13057         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13058         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13059         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13060         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13061         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13062         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13063         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13064         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13065         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13066         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13067         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13068         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13069         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13070         removed macros.
13071         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13072         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13073         macros.
13074         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13075         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13076         * sysdeps/i386/i586/memset.S (memset): Likewise.
13077         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13078         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13079         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13080         macros.
13081         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13082         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13083         Change uses of L(2) to L(out).
13084         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13085         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13086         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13087         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13088         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13089         removed macros.
13090         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13091         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13092         macros.
13093         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13094         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13095         (RETURN): Do not use macro LEAVE.
13096         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13097         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13098         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13099         * sysdeps/i386/i686/memset.S (memset): Likewise.
13100         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13101         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13102         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13103         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13104         Likewise.
13105         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13106         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13107         L(1_2) and L(1_3) into L(1).
13108         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13109         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13110         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13111         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13112         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13113         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13114         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13115         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13116         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13117         macros.
13118         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13119         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13120         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13121         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13122         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13123         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13124         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13125         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13126         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13127         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13128         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13129         * sysdeps/i386/strspn.S (strspn): Likewise.
13130         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13131         conditional code.
13132         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13133         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13134         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13135         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13136         L(1_3) into L(1_1).
13137         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13138         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13139         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13140         macros.
13141         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13143 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13145         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13146         macro.
13148 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13150         * math/atest-exp.c (exp_mpn): Remove ROUND.
13151         * math/atest-exp2.c (exp_mpn): Likewise.
13152         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13154         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13155         * stdlib/tst-tls-atexit-lib.c: Likewise.
13156         * stdlib/tst-tls-atexit.c: Likewise.
13158 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13160         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13161         and __attribute_alloc_size__.
13163 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13165         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13166         __attribute_alloc_size__.
13167         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13168         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13170 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13172         * include/programs/xmalloc.h: New file.
13173         * catgets/gencat.c: Include it.
13174         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13175         * elf/pldd.c: Likewise.
13176         * iconv/iconv_charmap.c: Likewise.
13177         * iconv/iconvconfig.c: Likewise.
13178         * iconv/strtab.c: Likewise.
13179         * locale/programs/locale.c: Likewise.
13180         * locale/programs/localedef.h: Likewise.
13181         * locale/programs/simple-hash.c: Likewise.
13182         * nscd/nscd.h: Likewise.
13183         * nss/makedb.c: Likewise.
13184         * sysdeps/generic/ldconfig.h: Likewise.
13186 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13188         * Versions.def: Add GLIBC_2.18.
13189         * include/link.h (struct link_map): New member l_tls_dtor_count.
13190         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13191         (__call_tls_dtors): Likewise.
13192         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13193         __cxa_thread_atexit_impl.
13194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13195         Likewise.
13196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13197         Likewise.
13198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13199         Likewise.
13200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13201         Likewise.
13202         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13204         Likewise.
13205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13206         Likewise.
13207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13209         Likewise.
13210         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13211         (tests): Add test case tst-tls-atexit.
13212         (modules-names): Add shared library for tst-tls-atexit.
13213         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13214         (GLIBC_PRIVATE): Add __call_tls_dtors.
13215         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13216         for libstdc++.
13217         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13218         * stdlib/tst-tls-atexit.c: New test case.
13219         * stdlib/tst-tls-atexit-lib.c: New test case.
13221         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13223         * elf/Versions (ld): Add _dl_find_dso_for_object.
13224         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13225         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13226         (dl_open_worker): Use _dl_find_dso_for_object.
13227         * elf/dl-sym.c (do_sym): Likewise.
13228         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13230 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13232         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13233         Syntactic changes only.
13234         (_dl_runtime_profile): Do a tail-call to the resolved function.
13236 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13238         [BZ #13550]
13239         * sysdeps/x86_64/bp-asm.h: Remove file.
13240         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13241         <bp-sym.h> and <bp-asm.h>.
13242         (__clone): Do not use BP_SYM.
13243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13244         <bp-sym.h> and <bp-asm.h>.
13245         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13246         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13247         "bp-asm.h".
13248         (_setjmp): Do not use BP_SYM.
13249         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13250         "bp-asm.h".
13251         (setjmp): Do not use BP_SYM.
13252         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13253         libc_hidden_def.
13254         (mempcpy): Do not use BP_SYM in weak_alias.
13255         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13256         "bp-asm.h".
13257         (strchr): Do not use BP_SYM.
13258         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13259         "bp-asm.h".
13260         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13261         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13262         (_start): Do not use BP_SYM.
13263         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13264         "bp-asm.h".
13265         (strcat): Do not use BP_SYM.
13266         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13267         "bp-asm.h".
13268         (STRCMP): Do not use BP_SYM.
13269         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13270         "bp-asm.h".
13271         (STRCPY): Do not use BP_SYM.
13272         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13273         "bp-asm.h".
13274         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13275         "bp-asm.h".
13276         (FUNCTION): Do not use BP_SYM.
13277         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13278         weak_alias.
13279         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13281 2013-02-17  Andreas Jaeger  <aj@suse.de>
13283         * time/Versions: Sort entries.
13284         * string/Versions: Likewise.
13285         * resolv/Versions: Likewise.
13286         * posix/Versions: Likewise.
13287         * iconv/Versions: Likewise.
13288         * elf/Versions: Likewise.
13289         * wcsmbs/Versions: Likewise.
13291 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13293         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13294         loop termination condition.
13296         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13297         variable to calculate EZ.
13298         (__sqr): Likewise.
13300         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13301         the lower precision input.
13303 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13305         [BZ #13550]
13306         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13307         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13308         (run-via-rtld-prefix): Do not handle %-bp tests.
13309         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13310         (all-object-suffixes): Remove .ob.
13311         (bppfx): Remove variable.
13312         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13313         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13314         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13315         [$(build-bounded) = yes] (libtype.ob): Likewise.
13316         * Makerules (elide-routines.ob): Remove variable.
13317         (do-tests-clean): Do not handle *-bp.out.
13318         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13319         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13320         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13321         (tests): Do not include $(tests-bp.out).
13322         (xtests): Do not include $(xtests-bp.out).
13323         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13324         [$(build-bounded) = yes] ($(addprefix
13325         $(objpfx),$(binaries-bounded))): Remove rule.
13326         ($(objpfx)%-bp.out): Remove rule.
13327         * config.make.in (build-bounded): Remove variable.
13328         * crypt/Makefile [$(build-bounded) = yes]
13329         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13330         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13331         append to variable.
13332         [$(build-bounded) = yes] (install-lib): Likewise.
13333         [$(build-bounded) = yes] (generated): Likewise.
13334         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13335         Remove rule.
13336         * intl/Makefile [$(build-bounded) = yes]
13337         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13338         * math/Makefile [$(build-bounded) = yes]
13339         ($(tests:%=$(objpfx)%-bp): Likewise.
13340         * misc/Makefile [$(build-bounded) = yes]
13341         ($(objpfx)tst-tsearch-bp): Likewise.
13342         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13343         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13344         Remove dependency.
13345         * string/Makefile (o-objects.ob): Remove variable.
13346         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13347         (CFLAGS-.ob): Remove variable.
13348         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13349         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13350         both definitions of variable.
13351         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13352         (ASFLAGS-.ob): Remove variable.
13354 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13356         [BZ #13550]
13357         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13358         Remove __BOUNDED_POINTERS__ from condition.
13359         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13360         * string/bits/string2.h [!__NO_STRING_INLINES &&
13361         !__BOUNDED_POINTERS__]: Likewise.
13362         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13363         Likewise.
13364         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13365         Remove conditional code.
13366         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13367         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13368         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13369         condition.
13371         [BZ #13550]
13372         * csu/libc-start.c: Do not include <bp-sym.h>.
13373         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13374         * elf/dl-open.c: Do not include <bp-sym.h>.
13375         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13376         * math/fegetenv.c: Do not include <bp-sym.h>.
13377         (fegetenv): Do not use BP_SYM in versioned symbols.
13378         * nptl/sysdeps/pthread/bits/libc-lockP.h
13379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13380         <bp-sym.h>.
13381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13382         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13384         (__pthread_mutex_destroy): Likewise.
13385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13386         (__pthread_mutex_lock): Likewise.
13387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13388         (__pthread_mutex_trylock): Likewise.
13389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13390         (__pthread_mutex_unlock): Likewise.
13391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13392         (__pthread_mutexattr_init): Likewise.
13393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13394         (__pthread_mutexattr_destroy): Likewise.
13395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13396         (__pthread_mutexattr_settype): Likewise.
13397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13398         (__pthread_rwlock_init): Likewise.
13399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13400         (__pthread_rwlock_destroy): Likewise.
13401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13402         (__pthread_rwlock_rdlock): Likewise.
13403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13404         (__pthread_rwlock_tryrdlock): Likewise.
13405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13406         (__pthread_rwlock_wrlock): Likewise.
13407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13408         (__pthread_rwlock_trywrlock): Likewise.
13409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13410         (__pthread_rwlock_unlock): Likewise.
13411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13412         (__pthread_key_create): Likewise.
13413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13414         (__pthread_setspecific): Likewise.
13415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13416         (__pthread_getspecific): Likewise.
13417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13418         Likewise.
13419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13420         (_pthread_cleanup_push_defer): Likewise.
13421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13422         (_pthread_cleanup_pop_restore): Likewise.
13423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13424         (pthread_setcancelstate): Likewise.
13425         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13426         <bp-sym.h>.
13427         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13428         (memchr): Do not use BP_SYM in weak_alias.
13429         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13430         (fegetenv): Do not use BP_SYM in versioned symbols.
13431         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13432         (fesetenv): Do not use BP_SYM in versioned symbols.
13433         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13434         (feupdateenv): Do not use BP_SYM in versioned symbols.
13435         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13436         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13437         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13438         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13439         (open64): Do not use BP_SYM in weak_alias.
13440         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13441         (fegetenv): Do not use BP_SYM in versioned symbols.
13442         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13443         (fesetenv): Do not use BP_SYM in versioned symbols.
13444         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13445         (feupdateenv): Do not use BP_SYM in versioned symbols.
13446         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13447         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13448         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13449         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13450         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13451         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13452         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13453         <bp-sym.h>.
13454         (__libc_start_main): Do not use BP_SYM.
13456 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13459         redundant return line.
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.
13469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13470         (norm): Likewise.
13471         (denorm): Likewise.
13472         (dbl_mp): Likewise.
13473         (sub_magnitudes): Likewise.
13474         (__add): Likewise.
13475         (__sub): Likewise.
13476         (__mul): Likewise.
13477         (__inv): Likewise.
13478         (__dvd): Likewise.
13480         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13481         instead of __mul.
13482         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13483         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13484         (cc32): Likewise.
13486         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13487         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13488         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13489         of __mul for squares.
13490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13491         function
13492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13493         Likewise.
13494         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13495         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13497 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13499         [BZ #13550]
13500         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13501         code.
13502         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13503         prototype or function definition.  Rename ubp_* variables and
13504         parameters.  Remove argv definitions conditional on
13505         [__BOUNDED_POINTERS__].
13506         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13507         * elf/dl-runtime.c (_dl_fixup): Likewise.
13508         * include/set-hooks.h (RUN_HOOK): Likewise.
13509         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13510         definition.
13511         * string/strcpy.c (strcpy): Do not use __unbounded.
13512         * sysdeps/generic/frame.h (struct layout): Likewise.
13513         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13514         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13515         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13516         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13517         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13518         (__backtrace): Likewise.
13519         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13520         use __ptrvalue.
13521         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13522         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13523         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13524         Likewise.
13525         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13526         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13527         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13528         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13529         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13530         Do not use __unbounded.
13531         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13532         Rename __unboundedrlimits parameter to rlimits in prototype.
13533         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13534         Do not use __unbounded.
13535         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13536         not use __ptrvalue.
13537         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13538         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13539         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13540         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13541         __ptrvalue or __unbounded.
13542         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13543         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13544         use __unbounded.
13545         (__new_msgctl): Do not use __ptrvalue.
13546         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13547         __unbounded.
13548         (__libc_msgrcv): Do not use __ptrvalue.
13549         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13550         startup_info): Do not use __unbounded.
13551         (__libc_start_main): Likewise.  Rename ubp_* variables and
13552         parameters.  Remove argv definitions conditional on
13553         [__BOUNDED_POINTERS__].
13554         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13555         __ptrvalue.
13556         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13557         use __unbounded.
13558         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13559         or __ptrvalue.
13560         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13561         use __unbounded.
13562         (__new_shmctl): Do not use __ptrvalue.
13563         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13564         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13565         Likewise.
13566         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13567         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13568         (__libc_sigaction): Likewise.
13569         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13570         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13571         Likewise.
13572         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13574 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13576         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13578         * string/mempcpy.c: Implement by calling memcpy.
13580 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13582         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13584         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13585         evaluation.
13587         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13588         values in the mantissa.
13590         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13591         minimize writes to Z.
13592         (sub_magnitudes): Simplify code a bit.
13594 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13596         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13597         from the message.  The linker prefixes all warnings with that already.
13599 2013-02-12  Andreas Schwab  <schwab@suse.de>
13601         [BZ #15078]
13602         * posix/regexec.c (extend_buffers): Add parameter min_len.
13603         (check_matching): Pass minimum needed length.
13604         (clean_state_log_if_needed): Likewise.
13605         (get_subexp): Likewise.
13606         * posix/Makefile (tests): Add bug-regex34.
13607         (bug-regex34-ENV): Define.
13608         * posix/bug-regex34.c: New file.
13610         [BZ #11561]
13611         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13612         elements compare against the byte sequence of it, not its name.
13613         * posix/Makefile (tests): Add bug-regex35.
13614         (bug-regex35-ENV): Define.
13615         * posix/bug-regex35.c: New file.
13617 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13619         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13620         comment.
13621         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13622         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13623         (CHECK_EOL): Add undef.
13625 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13627         * bits/stdlib-bsearch.h: New file.
13628         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13629         * stdlib/stdlib.h: Likewise.
13631 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13633         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13634         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13635         declaration.
13636         * manual/search.texi (Array Search Function): Add missing const in
13637         lfind prototype.
13638         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13639         declaration to use rlim_t.
13640         (Basic Scheduling Functions): Remove erroneous const from
13641         sched_getparam prototype.  Remove erroneous * from
13642         sched_get_priority_max and sched_get_priority_min prototypes.
13643         (Resource Usage): Fix summary @comment on vtimes to refer to
13644         sys/vtimes.h rather than vtimes.h.
13645         Add missing *s in vtimes prototype.
13646         (Limits on Resources): Fix ulimit prototype to return long int.
13647         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13648         prototypes to use long int rather than double.
13649         (BSD Random): Fix initstate and setstate to use char *, not void *.
13650         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13651         prototype to make second argument 'struct aiocb64 *const[]'.
13652         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13653         (Status of AIO Operations): Remove erroneous const in aio_return and
13654         aio_return64 prototypes.
13655         (Synchronizing I/O): Fix sync prototype to return void.
13656         * manual/startup.texi (Suboptions): Remove an erroneous const in
13657         getsubopt prototype.
13658         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13659         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13660         use size_t rather than int.
13661         (Scanning All Users): Likewise for getpwent_r.
13662         (Setting Groups): Add missing const to setgroups prototype.
13663         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13664         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13665         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13666         'const void *' rather than 'const char *'.
13667         (Host Address Functions): Likewise for inet_ntop.
13668         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13669         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13670         ssize_t for return value.
13671         (Sending Data): Likewise for send, sendto, sendmsg.
13672         (Socket Option Functions): Add a missing const in setsockopt prototype.
13673         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13674         use wchar_t for the argument.
13675         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13676         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13677         take no arguments.
13678         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13679         double/float/long double for second argument.
13680         Fix return types of significand, significandf, significandl.
13681         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13682         argument in fchmod prototype.
13683         (File Owner): Use uid_t and gid_t in fchown prototype.
13684         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13685         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13686         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13687         use 'const struct dirent **' as argument types to CMP function pointer
13688         argument.
13689         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13690         (File Times): Fix summary magic @comment for struct utimbuf and utime
13691         to refer to utime.h, not time.h.
13692         * manual/string.texi (Argz Functions): Add missing const in
13693         argz_extract and argz_next prototypes.
13694         (Finding Tokens in a String): Likewise for basename.
13695         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13696         (Copying and Concatenation): Fix typo in wmemmove prototype.
13697         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13698         (Signal Stack): Remove erroneous const in sigstack prototype.
13699         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13700         prototype.
13701         (Simple Calendar Time): Likewise for stime.
13702         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13703         prototype.
13704         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13705         say sys/sysctl.h instead.
13706         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13707         and vsyslog prototypes.
13709 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13711         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13712         Remove.
13714 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13716         * misc/sys/mman.h: Fix typo in mremap comment.
13718 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13720         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13721         the '\0' terminator.
13723 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13725         [BZ #13550]
13726         * debug/segfault.c: Don't include <bp-checks.h>.
13727         * sysdeps/generic/bp-checks.h: Remove file.
13728         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13729         (__GETDENTS): Don't use CHECK_N.
13730         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13731         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13732         (__getgroups): Don't use CHECK_N.
13733         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13734         (setgroups): Don't use CHECK_N.
13735         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13736         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13737         (__libc_msgrcv): Don't use CHECK_N.
13738         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13739         (__libc_msgsnd): Don't use CHECK_N.
13740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13741         <bp-checks.h>.
13742         (__libc_pread): Don't use CHECK_N.
13743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13744         include <bp-checks.h>.
13745         (__libc_pread64): Don't use CHECK_N.
13746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13747         include <bp-checks.h>.
13748         (__libc_pwrite): Don't use CHECK_N.
13749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13750         include <bp-checks.h>.
13751         (__libc_pwrite64): Don't use CHECK_N.
13752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13753         <bp-checks.h>.
13754         (__libc_pread): Don't use CHECK_N.
13755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13756         include <bp-checks.h>.
13757         (__libc_pread64): Don't use CHECK_N.
13758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13759         include <bp-checks.h>.
13760         (__libc_pwrite): Don't use CHECK_N.
13761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13762         include <bp-checks.h>.
13763         (__libc_pwrite64): Don't use CHECK_N.
13764         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13765         (do_pread): Don't use CHECK_N.
13766         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13767         (do_pread64): Don't use CHECK_N.
13768         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13769         (do_pwrite): Don't use CHECK_N.
13770         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13771         (do_pwrite64): Don't use CHECK_N.
13772         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13773         (__libc_readv): Don't use CHECK_N.
13774         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13775         (semop): Don't use CHECK_N.
13776         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13777         <bp-checks.h>.
13778         (semtimedop): Don't use CHECK_N.
13779         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13780         (__libc_pread): Don't use CHECK_N.
13781         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13782         <bp-checks.h>.
13783         (__libc_pread64): Don't use CHECK_N.
13784         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13785         <bp-checks.h>.
13786         (__libc_pwrite): Don't use CHECK_N.
13787         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13788         <bp-checks.h>.
13789         (__libc_pwrite64): Don't use CHECK_N.
13790         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13791         <bp-checks.h>.
13792         (__libc_msgrcv): Don't use CHECK_N.
13793         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13794         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13795         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13796         (__libc_writev): Don't use CHECK_N.
13798 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13800         * string/strcpy.c: Removed unused variable.
13802         * Makeconfig (+sysdep-includes): Define with := rather than =.
13803         Use an existing include/ subdir of each sysdeps dir before it.
13805 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13807         * nscd/connection.c (register_traced_file): Comment function.
13808         [HAVE_INOTIFY] (union __inev): Define.
13809         [HAVE_INOTIFY] (inotify_check_files): New function.
13810         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13811         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13812         clear_db_cache.
13813         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13815 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13817         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13818         loaded if not already and that a failure is permanent.
13820 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13822         [BZ #15006]
13823         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13824         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13826 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13828         [BZ #13550]
13829         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13830         (CHECK_1_NULL_OK): Likewise.
13831         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13832         (__fxstat): Do not use CHECK_1.
13833         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13834         <bp-checks.h>.
13835         (___fxstat64): Do not use CHECK_1.
13836         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13837         <bp-checks.h>.
13838         (__fxstatat): Do not use CHECK_1.
13839         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13840         <bp-checks.h>.
13841         (__fxstatat64): Do not use CHECK_1.
13842         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13843         <bp-checks.h>.
13844         (__fxstat): Do not use CHECK_1.
13845         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13846         <bp-checks.h>.
13847         (__fxstatat): Do not use CHECK_1.
13848         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13849         <bp-checks.h>.
13850         (__getresgid): Do not use CHECK_1.
13851         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13852         <bp-checks.h>.
13853         (__getresuid): Do not use CHECK_1.
13854         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13855         <bp-checks.h>.
13856         (__lxstat): Do not use CHECK_1.
13857         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13858         <bp-checks.h>.
13859         (__old_msgctl): Do not use CHECK_1.
13860         (__new_msgctl): Likewise.
13861         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13862         <bp-checks.h>.
13863         (__new_setrlimit): Do not use CHECK_1.
13864         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13865         <bp-checks.h>.
13866         (__old_shmctl): Do not use CHECK_1.
13867         (__new_shmctl): Likewise.
13868         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13869         <bp-checks.h>.
13870         (__xstat): Do not use CHECK_1.
13871         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13872         (__lxstat): Do not use CHECK_1.
13873         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13874         <bp-checks.h>.
13875         (___lxstat64): Do not use CHECK_1.
13876         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13877         (__old_msgctl): Do not use CHECK_1.
13878         (__new_msgctl): Likewise.
13879         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13880         <bp-checks.h>.
13881         (__gettimeofday): Do not use CHECK_1.
13882         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13883         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13884         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13885         <bp-checks.h>.
13886         (__gettimeofday): Do not use CHECK_1.
13887         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13888         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13889         (__new_shmctl): Do not use CHECK_1.
13890         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13891         <bp-checks.h>.
13892         (do_sigtimedwait): Do not use CHECK_1.
13893         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13894         <bp-checks.h>.
13895         (do_sigwaitinfo): Do not use CHECK_1.
13896         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13897         <bp-checks.h>.
13898         (msgctl): Do not use CHECK_1.
13899         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13900         <bp-checks.h>.
13901         (shmctl): Do not use CHECK_1.
13902         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13903         (ustat): Do not use CHECK_1.
13904         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13905         <bp-checks.h>.
13906         (__fxstat): Do not use CHECK_1.
13907         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13908         <bp-checks.h>.
13909         (__fxstatat): Do not use CHECK_1.
13910         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13911         <bp-checks.h>.
13912         (__lxstat): Do not use CHECK_1.
13913         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13914         <bp-checks.h>.
13915         (__xstat): Do not use CHECK_1.
13916         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13917         (__xstat): Do not use CHECK_1.
13918         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13919         (___xstat64): Do not use CHECK_1.
13921         [BZ #13550]
13922         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13923         definitions.
13924         (CHECK_BOUNDS_HIGH): Likewise.
13925         * string/strcpy.c: Do not include <bp-checks.h>.
13926         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13928 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13930         * nscd/nscd-client.h (__nscd_drop_map_ref):
13931         Add __attribute__ ((unused)).
13932         * nis/nss-nisplus.h (niserr2nss): Likewise.
13934         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13935         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13937         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13938         Remove inline keyword.
13939         * include/rounding-mode.h (round_away): Likewise.
13940         * libio/wfileops.c (adjust_wide_data): Likewise.
13941         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13942         (__m128i_strloadu_tolower): Likewise.
13943         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13944         (__m128i_strloadu_tolower): Likewise.
13945         * time/mktime.c (ydhms_diff): Likewise.
13946         * locale/elem-hash.h (elem_hash): Likewise.
13947         * locale/setlocale.c (setdata): Likewise.
13948         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13949         (re_string_wchar_at): Likewise.
13950         (bitset_not, bitset_merge, bitset_mask): Likewise.
13951         [!(__GNUC__ > 3)] (inline): Remove macro.
13952         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13953         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13954         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13955         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13956         * string/memcmp.c (memcmp_bytes): Likewise.
13957         * locale/programs/locarchive.c (compute_hashval): Likewise.
13958         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13959         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13960         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13961         * nss/getent.c (print_rpc, print_protocols): Likewise.
13962         (print_passwd, print_group, print_aliases): Likewise.
13963         * nis/nss-nisplus.h (niserr2nss): Likewise.
13964         * nscd/connections.c (restart_p): Likewise.
13965         Change return type to bool.
13967 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13969         * Makeconfig (all-Depend-files): Add existing
13970         $(sorted-subdirs:=/Depend) files.
13971         (all-subdirs): Remove nss.
13972         * sysdeps/unix/inet/Subdirs: Add it here instead.
13973         * hesiod/Depend: New file.
13975         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13976         instead of calling alloca.
13978         * io/lseek.c (__lseek): Rename to __libc_lseek.
13979         Define __lseek as an alias.
13981         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13983 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13985         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13986         else clause and remove check for non-standard endianness.
13988 2013-02-04  David S. Miller  <davem@davemloft.net>
13990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13992 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13994         [BZ #13550]
13995         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13996         (__ubp_memchr): Remove prototype.
13997         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13998         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13999         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14000         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14001         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14002         Remove alias.
14003         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14004         (__ubp_memchr): Likewise.
14005         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14006         (__ubp_memchr): Likewise.
14007         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14008         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14009         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14010         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14011         CHECK_STRING.
14012         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14013         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14014         (__getcwd): Do not use CHECK_STRING.
14015         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14016         <bp-checks.h>.
14017         (__real_chown): Do not use CHECK_STRING.
14018         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14019         <bp-checks.h>.
14020         (fchownat): Do not use CHECK_STRING.
14021         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14022         CHECK_STRING.
14023         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14024         <bp-checks.h>.
14025         (__lchown): Do not use CHECK_STRING.
14026         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14027         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14028         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14029         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14031         include <bp-checks.h>.
14032         (truncate64): Do not use CHECK_STRING.
14033         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14034         <bp-checks.h>.
14035         (__real_chown): Do not use CHECK_STRING.
14036         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14037         <bp-checks.h>.
14038         (__lchown): Do not use CHECK_STRING.
14039         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14040         <bp-checks.h>.
14041         (__chown): Do not use CHECK_STRING.
14042         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14043         <bp-checks.h>.
14044         (truncate64): Do not use CHECK_STRING.
14045         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14046         Likewise.
14047         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14048         (__xmknod): Do not use CHECK_STRING.
14049         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14050         <bp-checks.h>.
14051         (__xmknodat): Do not use CHECK_STRING.
14052         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14053         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14055 2013-02-04  Andreas Schwab  <schwab@suse.de>
14057         [BZ #14142]
14058         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14059         * include/netdb.h: Likewise for h_errno.
14060         * elf/tst-stackguard1.c: Include <tls.h>.
14062 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14064         * elf/link.h (struct link_map): Extend the l_addr comment.
14065         * include/link.h (struct link_map): Likewise.
14067 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14069         [BZ #13550]
14070         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14071         (BOUNDED_1): Remove macro.
14072         * debug/backtrace.c: Don't include <bp-checks.h>.
14073         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14074         (__backtrace): Likewise.
14075         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14076         <bp-checks.h>.
14077         (__backtrace): Don't use BOUNDED_1.
14078         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14079         <bp-checks.h>.
14080         (__backtrace): Don't use BOUNDED_1.
14081         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14082         (__backtrace): Don't use BOUNDED_1.
14083         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14084         (shmat): Don't use BOUNDED_N.
14086 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14088         [BZ #13550]
14089         * sysdeps/generic/bp-start.h: Remove file.
14090         * csu/libc-start.c: Don't include <bp-start.h>.
14091         (LIBC_START_MAIN): Set up __environ directly instead of using
14092         INIT_ARGV_and_ENVIRON.
14093         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14094         <bp-start.h>.
14096         [BZ #13550]
14097         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14098         definitions.
14099         (CHECK_FCNTL): Likewise.
14100         (CHECK_N_PAGES): Likewise.
14102         [BZ #13550]
14103         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14104         definitions.
14105         (CHECK_SIGSET_NULL_OK): Likewise.
14106         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14107         <bp-checks.h>.
14108         (sigpending): Don't use CHECK_SIGSET.
14109         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14110         <bp-checks.h>.
14111         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14112         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14113         <bp-checks.h>.
14114         (do_sigsuspend): Don't use CHECK_SIGSET.
14115         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14116         use CHECK_SIGSET.
14117         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14118         (do_sigwait): Don't use CHECK_SIGSET.
14119         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14120         use CHECK_SIGSET.
14121         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14122         include <bp-checks.h>.
14123         (sigpending): Don't use CHECK_SIGSET.
14124         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14125         include <bp-checks.h>.
14126         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14127         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14128         <bp-checks.h>.
14129         (sigpending): Don't use CHECK_SIGSET.
14130         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14131         <bp-checks.h>.
14132         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14134         [BZ #13550]
14135         * sysdeps/generic/bp-semctl.h: Remove file.
14136         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14137         <bp-checks.h> and <bp-semctl.h>.
14138         (__old_semctl): Don't use CHECK_SEMCTL.
14139         (__new_semctl): Likewise.
14140         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14141         and <bp-semctl.h>.
14142         (__old_semctl): Don't use CHECK_SEMCTL.
14143         (__new_semctl): Likewise.
14144         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14145         <bp-checks.h> and <bp-semctl.h>.
14146         (__old_semctl): Don't use CHECK_SEMCTL.
14147         (__new_semctl): Likewise.
14148         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14149         <bp-checks.h> and <bp-semctl.h>.
14150         (semctl): Don't use CHECK_SEMCTL.
14152         [BZ #13550]
14153         * Makerules (elide-bp-thunks): Remove variable.
14154         (elide-routines.oS): Don't use $(elide-bp-thunks).
14155         (elide-routines.os): Likewise.
14156         (elide-routines.o): Likewise.
14157         (elide-routines.op): Likewise.
14158         (elide-routines.og): Likewise.
14159         (objects): Don't use $(bp-thunks).
14160         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14161         include.
14162         (common-generated): Do not add s-proto-bp.d.
14163         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14164         (int): Likewise.
14165         (typ): Likewise.
14166         Do not generate makefile rules for bounded-pointer thunks.
14167         * sysdeps/generic/bp-thunks.h: Remove file.
14168         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14169         * sysdeps/unix/s-proto-bp.S: Likewise.
14171         [BZ #15062]
14172         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14173         parts of result separately when argument is not close to line from
14174         -i to i and one part of argument is small.
14175         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14176         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14177         * math/libm-test.inc (cacos_test): Add more tests.
14178         (casin_test): Likewise.
14179         (casinh_test): Likewise.
14180         * sysdeps/i386/fpu/libm-test-ulps: Update.
14181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14183 2013-01-31  David S. Miller  <davem@davemloft.net>
14185         * po/de.po: Update from translation team.
14187 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14189         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14191 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14193         * configure.in (_AC_PROG_CC_C89): New definition.
14194         * configure: Regenerate.
14196         * configure.in (AC_PROG_CPP): New definition.
14197         * configure: Regenerate.
14199 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14201         * debug/tst-backtrace.h: New file.
14202         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14203         (ret): Remove variable.
14204         (x): Likewise.
14205         (FAIL): Remove macro.
14206         (NO_INLINE): Likewise.
14207         (fn1): Use match function instead of strstr.
14208         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14209         (ret): Remove variable.
14210         (x): Likewise.
14211         (FAIL): Remove macro.
14212         (NO_INLINE): Likewise.
14213         (fn): Use match function instead of strstr.
14214         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14215         (ret): Remove variable.
14216         (x): Likewise.
14217         (FAIL): Remove macro.
14218         (NO_INLINE): Likewise.
14219         (handle_signal): Use match function instead of strstr.
14220         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14221         (ret): Remove variable.
14222         (x): Likewise.
14223         (FAIL): Remove macro.
14224         (NO_INLINE): Likewise.
14225         (handle_signal): Use match function instead of strstr.
14227 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14229         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14231 2013-01-23  David S. Miller  <davem@davemloft.net>
14233         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14234         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14235         argument of CAS if possible.
14236         * sysdeps/sparc/sparc64/bits/atomic.h
14237         (__arch_compare_and_exchange_val_32_acq): Likewise.
14238         (__arch_compare_and_exchange_val_64_acq): Likewise.
14240 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14242         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14243         * sysdeps/posix/ulimit.c: ... this.
14244         Include <limits.h>.
14245         * sysdeps/unix/bsd/ulimit.c: Remove file.
14247 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14249         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14250         (LDFLAGS-tst-array5): Likewise.
14252 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14254         [BZ #15036]
14255         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14256         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14257         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14258         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14260 2013-01-21  David S. Miller  <davem@davemloft.net>
14262         * sysdeps/sparc/backtrace.c: New file.
14263         * sysdeps/sparc/sparc32/backtrace.h: New file.
14264         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14265         * sysdeps/sparc/sparc64/backtrace.h: New file.
14266         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14267         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14268         -funwind-tables.
14270 2013-01-21  Andreas Schwab  <schwab@suse.de>
14272         [BZ #15020]
14273         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14274         closed its stdout.
14276 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14279         "mpa2.h".
14280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14282 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14283             Mark Mitchell  <mark@codesourcery.com>
14284             Tom de Vries  <tom@codesourcery.com>
14285             Paul Pluzhnikov  <ppluzhnikov@google.com>
14287         * debug/tst-backtrace2.c: New file.
14288         * debug/tst-backtrace3.c: Likewise.
14289         * debug/tst-backtrace4.c: Likewise.
14290         * debug/tst-backtrace5.c: Likewise.
14291         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14292         (CFLAGS-tst-backtrace3.c): Likewise.
14293         (CFLAGS-tst-backtrace4.c): Likewise.
14294         (CFLAGS-tst-backtrace5.c): Likewise.
14295         (LDFLAGS-tst-backtrace2): Likewise.
14296         (LDFLAGS-tst-backtrace3): Likewise.
14297         (LDFLAGS-tst-backtrace4): Likewise.
14298         (LDFLAGS-tst-backtrace5): Likewise.
14299         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14300         tst-backtrace4 and tst-backtrace5.
14302 2013-01-18  Anton Blanchard  <anton@samba.org>
14303             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14305         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14306         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14307         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14308         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14310         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14311         "+r" and remove output regs list as redundant.  Add explicit inline
14312         asm to specify register of return val to work around compiler codegen
14313         bug.  Remove (int) cast on return value.  Add return type parameter to
14314         use in macro so that this macro does not truncate return value for
14315         64-bit values.
14316         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14317         pass to INTERNAL_VSYSCALL_NCS.
14318         (INLINE_VSYSCALL): Add 'long int' as return type to
14319         INTERNAL_VSYSCALL_NCS macro invocation.
14320         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14321         INTERNAL_VSYSCALL_NCS macro invocation.
14322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14324 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14326         [BZ #14496]
14327         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14328         Fix application of SIMD FP exception mask.
14330         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14331         mp_no from a power of two.
14332         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14333         __mpexp_twomm1.  Use __pow_mp.
14335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14336         multiplication.
14338 2013-01-17  David S. Miller  <davem@davemloft.net>
14340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14342 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14344         [BZ #15023]
14345         * include/complex.h: Condition contents on [!_COMPLEX_H].
14346         (__kernel_casinhf): New prototype.
14347         (__kernel_casinh): Likewise.
14348         (__kernel_casinhl): Likewise.
14349         * math/Makefile (libm_calls): Add k_casinh.
14350         * math/k_casinh.c: New file.
14351         * math/k_casinhf.c: Likewise.
14352         * math/k_casinhl.c: Likewise.
14353         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14354         finite nonzero arguments.
14355         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14356         finite nonzero arguments.
14357         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14358         finite nonzero arguments.
14359         * math/s_casinh.c: Do not include <float.h>.
14360         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14361         * math/s_casinhf.c: Do not include <float.h>.
14362         (__casinhf): Move code for finite nonzero arguments to
14363         k_casinhf.c.
14364         * math/s_casinhl.c: Do not include <float.h>.
14365         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14366         redefine.
14367         (__casinhl): Move code for finite nonzero arguments to
14368         k_casinhl.c.
14369         * math/libm-test.inc (cacos_test): Add more tests.
14370         * sysdeps/i386/fpu/libm-test-ulps: Update.
14371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14373 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14375         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14376         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14377         [!HAVE_MREMAP]: Remove [defined linux] case.
14378         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14380 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14382         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14384 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14386         * elf/elf.h (R_386_SIZE32): New relocation.
14387         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14388         R_386_SIZE32.
14389         (elf_machine_rela): Likewise.
14390         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14391         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14393 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14395         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14396         (FP_FAST_FMA): Do not define.
14397         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14398         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14399         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14400         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14401         !_SOFT_FLOAT]: Likewise.
14402         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14403         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14404         value.
14405         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14406         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14407         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14408         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14409         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14410         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14411         file.
14413 2013-01-16  Andreas Schwab  <schwab@suse.de>
14415         [BZ #14327]
14416         * include/stdlib.h (__mktemp): Add declaration.
14417         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14418         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14420 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14422         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14423         definitions.
14424         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14425         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14426         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14427         definitions here.
14428         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14429         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14430         definitions.
14431         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14432         and ONE.
14433         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14434         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14435         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14436         definitions.
14437         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14438         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14439         definitions.
14440         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14442         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14444 2013-01-15  David S. Miller  <davem@davemloft.net>
14446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14447         trunc{,f} to libm-sysdep_routes.
14448         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14450         file.
14451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14453         file.
14454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14455         file.
14456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14458         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14459         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14460         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14461         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14462         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14463         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14466         nearbyint{,f} to libm-sysdep_routes.
14467         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14469         New file.
14470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14471         file.
14472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14473         New file.
14474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14475         file.
14476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14478         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14479         file.
14480         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14481         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14482         file.
14483         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14484         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14485         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14487         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14488         libc_feholdexcept and libc_fesetenv.
14490 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14492         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14494 2013-01-14  David S. Miller  <davem@davemloft.net>
14496         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14497         (SPARC_ASM_VIS2_IFUNC): Likewise.
14498         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14500         use of 'siam' instruction.
14501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14502         Likewise.
14503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14504         Likewise.
14505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14506         Likewise.
14507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14512         file.
14513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14514         file.
14515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14516         file.
14517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14518         file.
14519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14524         new VIS2 routines.
14525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14528         Likewise.
14529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14530         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14534         routines to libm-sysdep_routines.
14535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14538         fdim/fdimf to libm-sysdep_routines.
14539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14540         file.
14541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14543         file.
14544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14547         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14548         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14549         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14550         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14552 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14554         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14555         to optimize copies.
14557         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14562         local variable MPTWO.
14563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14564         Likewise.
14566 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14568         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14569         GLOB_NOESCAPE.
14571 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14573         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14575 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14577         * manual/pattern.texi (glob_t): Document gl_flags.
14578         (glob64_t): Likewise.
14580 2013-01-11  David S. Miller  <davem@davemloft.net>
14582         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14583         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14584         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14585         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14586         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14587         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14588         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14589         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14590         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14591         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14592         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14593         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14594         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14596         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14597         sparc V9 rather than using V8 code.
14598         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14599         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14601         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14602         Move to...
14603         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14604         Here.
14606 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14608         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14609         not in the main loop.
14610         * configure: Regenerated.
14612 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14614         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14615         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14616         to just #else.
14617         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14618         [!__GLIBC_HAVE_LONG_LONG] case.
14619         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14620         condition to just #else.
14621         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14622         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14623         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14624         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14625         unconditional.
14626         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14627         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14628         #elif condition to just #else.
14629         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14630         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14631         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14632         #elif condition to just #else.
14634 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14636         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14637         (EF_MIPS_ARCH_64): Fix value.
14638         (EF_MIPS_ARCH_32R2): New.
14639         (EF_MIPS_ARCH_64R2): New.
14641 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14643         * Makeconfig (+link-pie-before-libc): New.
14644         (+link-pie-after-libc): Likewise.
14645         (+link-pie-tests): Likewise.
14646         (+link-pie): Rewritten.
14647         (link-before-libc): Remove $(config-LDFLAGS).
14648         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14649         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14650         (config-LDFLAGS): Renamed to ...
14651         (rtld-LDFLAGS): This.
14652         (rtld-tests-LDFLAGS): New macro.
14653         (link-libc-rpath-link): Likewise.
14654         (link-libc-tests-rpath-link): Likewise.
14655         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14656         (link-libc): Prepand $(link-libc-rpath-link).
14657         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14658         (test-program-prefix): New macro.
14659         (test-via-rtld-prefix): Likewise.
14660         (test-program-cmd): Likewise.
14661         (host-test-program-cmd): Likewise.
14662         * Makefile ($(common-objpfx)testrun.sh): Replace
14663         $(run-program-prefix) with $(test-program-prefix).
14664         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14665         $(rtld-LDFLAGS).
14666         ($(common-objpfx)shlib.lds): Likewise.
14667         (build-module-helper): Likewise.
14668         ($(common-objpfx)format.lds): Likewise.
14669         * Rules (binaries-pie-tests): New.
14670         (binaries-pie-notests): Likewise.
14671         (binaries-pie): Rewritten.
14672         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14673         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14674         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14675         (make-test-out): Replace $(host-built-program-cmd) with
14676         $(host-test-program-cmd).
14677         * config.make.in (build-hardcoded-path-in-tests): New variable.
14678         * configure.in (--enable-hardcoded-path-in-tests): New configure
14679         option.
14680         (hardcoded_path_in_tests): New AC_SUBST.
14681         * configure: Regenerated.
14682         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14683         $(built-program-cmd) with $(test-program-cmd).
14684         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14685         (test_program_cmd): This.
14686         * elf/Makefile ($(objpfx)order.out): Run test with
14687         $(test-program-prefix).
14688         ($(objpfx)order2.out): Likewise.
14689         ($(objpfx)tst-initorder.out): Likewise.
14690         ($(objpfx)tst-initorder2.out): Likewise.
14691         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14692         $(test-program-cmd).
14693         ($(objpfx)tst-array1-static.out): Likewise.
14694         ($(objpfx)tst-array2.out): Likewise.
14695         ($(objpfx)tst-array3.out): Likewise.
14696         ($(objpfx)tst-array4.out): Likewise.
14697         ($(objpfx)tst-array5.out): Likewise.
14698         ($(objpfx)tst-array5-static.out): Likewise.
14699         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14700         $(test-program-cmd).
14701         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14702         $(run-program-prefix) with $(test-program-prefix).
14703         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14704         (test_program_prefix): This.
14705         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14706         $(run-program-prefix) with $(test-program-prefix).
14707         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14708         (test_program_prefix): This.
14709         * iconvdata/tst-tables.sh: Likewise.
14710         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14711         $(run-program-prefix) with $(test-program-prefix).
14712         ($(objpfx)tst-translit.out): Likewise.
14713         ($(objpfx)tst-gettext2.out): Likewise.
14714         ($(objpfx)tst-gettext4.out): Likewise.
14715         ($(objpfx)tst-gettext6.out): Likewise.
14716         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14717         (test_program_prefix): This.
14718         * intl/tst-gettext2.sh: Likewise.
14719         * intl/tst-gettext4.sh  Likewise.
14720         * intl/tst-gettext6.sh: Likewise.
14721         * intl/tst-translit.sh: Likewise.
14722         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14723         with $(test-program-cmd).
14724         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14725         $(run-program-prefix) with $(test-program-prefix).
14726         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14727         (test_program_prefix): This.
14728         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14729         $(run-program-prefix) with $(test-program-prefix).
14730         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14731         (test_program_prefix): This.
14732         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14733         * posix/Makefile ($(objpfx)globtest.out): Replace
14734         $(run-via-rtld-prefix) and $(test-wrapper) with
14735         $(test-program-prefix) and $(test-via-rtld-prefix).
14736         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14737         $(test-program-prefix).
14738         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14739         $(host-test-program-cmd).
14740         (tst-spawn-ARGS): Likewise.
14741         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14742         $(test-program-prefix).
14743         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14744         (test_via_rtld_prefix): This.
14745         (test_wrapper): Renamed to ...
14746         (test_program_prefix): This.
14747         (run_program_prefix): Replaced by test_program_prefix.
14748         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14749         (test_program_prefix): This.
14750         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14751         with $(host-test-program-cmd).
14752         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14753         $(run-program-prefix) with $(test-program-prefix).
14754         ($(objpfx)tst-printf.out): Likewise.
14755         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14756         $(test-program-cmd).
14757         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14758         (test_program_prefix): This.
14759         * stdio-common/tst-unbputc.sh: Likewise.
14760         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14761         $(run-program-prefix) with $(test-program-prefix).
14762         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14763         (test_program_prefix): This.
14764         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14765         $(built-program-cmd) with $(test-program-cmd).
14767 2013-01-11  Andreas Jaeger  <aj@suse.de>
14769         [BZ #15003]
14770         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14771         value. Sync with Linux 3.7.
14773 2013-01-10  David S. Miller  <davem@davemloft.net>
14775         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14776         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14777         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14779 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14781         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14782         never set.
14783         * configure: Regenerated.
14785 2013-01-10  David S. Miller  <davem@davemloft.net>
14787         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14788         sparc V9 rather than using V8 code.
14789         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14790         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14792 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14794         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14795         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14796         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14797         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14798         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14799         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14800         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14801         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14802         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14803         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14804         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14805         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14806         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14807         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14808         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14809         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14810         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14811         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14812         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14813         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14814         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14815         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14816         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14817         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14818         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14819         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14820         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14822 2013-01-10  David S. Miller  <davem@davemloft.net>
14824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14826 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14828         * posix/Makefile (tests-static): New variable.
14829         (tests): Add $(tests-static).
14830         (tst-exec-static-ARGS): New variable.
14831         (tst-spawn-static-ARGS): Likewise.
14832         * posix/tst-exec-static.c: New file.
14833         * posix/tst-spawn-static.c: Likewise.
14834         * posix/tst-exec.c: Support run directly.
14835         * posix/tst-spawn.c: Likewise.
14837 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14839         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14840         long.
14841         * math/bits/mathcalls.h (llrint): Likewise.
14842         (llround): Likewise.
14843         * stdlib/stdlib.h (struct drand48_data): Likewise.
14844         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14845         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14846         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14847         Likewise.
14848         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14849         Likewise.
14850         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14851         (elf_greg_t): Likewise.
14852         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14853         (__jmp_buf): Likewise.
14854         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14855         definitions.
14856         (llrint): Likewise, for all definitions.
14857         (llrintl): Likewise.
14859         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14860         Remove [__GNUC__] condition.
14861         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14862         condition to just [__USE_ISOC99].
14863         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14865 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14867         [BZ #14200]
14868         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14869         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14870         defined.
14871         (_POSIX_V6_ILP32_OFF32): Likewise.
14872         (_XBS5_ILP32_OFF32): Likewise.
14873         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14874         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14876 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14878         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14881         doubles __mpexp_twomm1.  Adjust usage.
14882         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14883         Remove.
14885 2013-01-10  Andreas Schwab  <schwab@suse.de>
14887         [BZ #14964]
14888         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14889         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14891 2013-01-09  David S. Miller  <davem@davemloft.net>
14893         [BZ #15003]
14894         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14895         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14896         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14897         TCP_FASTOPEN): Define.
14898         (tcp_repair_opt): New structure.
14899         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14900         enum values.
14901         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14902         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14903         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14904         (tcp_cookie_transactions): New structure.
14906 2013-01-09  Anton Blanchard  <anton@samba.org>
14908         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14909         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14910         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14911         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14913 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14915         * include/features.h (__USE_ANSI): Remove.
14917 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14919         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14921         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14923 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14925         * sysdeps/s390/fpu/libm-test-ulps: Update.
14927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14929         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14930         (__acr): Likewise.
14931         (__cpy): Likewise.
14932         (norm): Likewise.
14933         (denorm): Likewise.
14934         (__mp_dbl): Likewise.
14935         (__dbl_mp): Likewise.
14936         (add_magnitudes): Likewise.
14937         (sub_magnitudes): Likewise.
14938         (__add): Likewise.
14939         (__sub): Likewise.
14940         (__mul): Likewise.
14941         (__inv): Likewise.
14942         (__dvd): Likewise.
14943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14944         (__acr): Likewise.
14945         (__cpy): Likewise.
14946         (norm): Likewise.
14947         (denorm): Likewise.
14948         (__mp_dbl): Likewise.
14949         (__dbl_mp): Likewise.
14950         (add_magnitudes): Likewise.
14951         (sub_magnitudes): Likewise.
14952         (__add): Likewise.
14953         (__sub): Likewise.
14954         (__mul): Likewise.
14955         (__inv): Likewise.
14956         (__dvd): Likewise.
14957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14958         (__acr): Likewise.
14959         (__cpy): Likewise.
14960         (norm): Likewise.
14961         (denorm): Likewise.
14962         (__mp_dbl): Likewise.
14963         (__dbl_mp): Likewise.
14964         (add_magnitudes): Likewise.
14965         (sub_magnitudes): Likewise.
14966         (__add): Likewise.
14967         (__sub): Likewise.
14968         (__mul): Likewise.
14969         (__inv): Likewise.
14970         (__dvd): Likewise.
14972 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14974         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14975         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14976         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14977         2 && __USE_EXTERN_INLINES]: Likewise.
14979 2013-01-08  Andreas Jaeger  <aj@suse.de>
14981         [BZ# 14985]
14982         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14983         Remove.
14984         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14985         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14987 2013-01-07  Anton Blanchard  <anton@samba.org>
14989         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14990         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14991         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14992         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14993         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14994         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14995         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14996         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14998         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14999         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15000         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15001         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15002         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15003         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15004         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15005         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15006         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15007         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15008         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15009         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15010         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15011         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15012         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15013         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15014         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15015         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15016         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15017         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15018         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15019         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15021         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15022         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15023         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15024         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15025         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15026         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15027         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15028         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15029         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15030         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15031         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15033 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15035         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15036         (__MALLOC_PMT): Likewise.
15037         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15038         [__GNUC__], only on [_LIBC].
15039         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15040         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15041         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15042         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15043         forward declaration.
15044         (realloc_hook_ini): Likewise.
15045         (memalign_hook_ini): Likewise.
15046         (__libc_memalign): Do not use __MALLOC_PMT in variable
15047         declaration.
15048         (__libc_valloc): Likewise.
15049         (__libc_pvalloc): Likewise.
15050         (__libc_calloc): Likewise.
15051         (__posix_memalign): Likewise.
15053         [BZ #14996]
15054         * math/s_casinh.c: Include <float.h>.
15055         (__casinh): Do not do computation with squaring and square root
15056         for large arguments.
15057         * math/s_casinhf.c: Include <float.h>.
15058         (__casinhf): Do not do computation with squaring and square root
15059         for large arguments.
15060         * math/s_casinhl.c: Include <float.h>.
15061         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15062         (__casinhl): Do not do computation with squaring and square root
15063         for large arguments.
15064         * math/libm-test.inc (casin_test): Add more tests.
15065         (casinh_test): Likewise.
15066         * sysdeps/i386/fpu/libm-test-ulps: Update.
15067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15069 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15071         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15072         (__x86_64_raw_data_cache_size): Likewise.
15073         (__x86_64_data_cache_size_half): Likewise.
15074         (__x86_64_raw_data_cache_size_half): Likewise.
15075         (__x86_64_shared_cache_size): Likewise.
15076         (__x86_64_raw_shared_cache_size): Likewise.
15077         (__x86_64_shared_cache_size_half): Likewise.
15078         (__x86_64_raw_shared_cache_size_half): Likewise.
15079         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15080         to ...
15081         (__x86_data_cache_size): This.
15082         (__x86_64_raw_data_cache_size): Renamed to ...
15083         (__x86_raw_data_cache_size): This.
15084         (__x86_64_data_cache_size_half): Renamed to ...
15085         (__x86_data_cache_size_half): This.
15086         (__x86_64_raw_data_cache_size_half): Renamed to ...
15087         (__x86_raw_data_cache_size_half): This.
15088         (__x86_64_shared_cache_size): Renamed to ...
15089         (__x86_shared_cache_size): This.
15090         (__x86_64_raw_shared_cache_size): Renamed to ...
15091         (__x86_raw_shared_cache_size): This.
15092         (__x86_64_shared_cache_size_half): Renamed to ...
15093         (__x86_shared_cache_size_half): This.
15094         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15095         (__x86_raw_shared_cache_size_half): This.
15096         * sysdeps/x86_64/memcpy.S: Updated.
15097         * sysdeps/x86_64/memset.S: Likewise.
15098         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15099         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15100         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15102 2013-01-04  David S. Miller  <davem@davemloft.net>
15104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15106 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15108         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15109         1 to avoid redefinition warning.
15110         (__USE_GNU): Don't define.
15111         (init_signaling_nan): Protoize.
15113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15115 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15117         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15118         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15119         (__cpymn): Likewise.
15120         (norm): Remove commented code.
15121         (denorm): Likewise.
15122         (__mp_dbl): Likewise.
15123         (__inv): Likewise.
15124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15125         (__cpymn): Likewise.
15126         (norm): Remove commented code.
15127         (denorm): Likewise.
15128         (__mp_dbl): Likewise.
15129         (__inv): Likewise.
15131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15132         mp_no value for 1.0 and 2.0.
15133         (norm): Use RADIXI instead of radixi.d.
15134         (denorm): Likewise.
15135         (__mul): Use 0.0 instead of zero.d.
15136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15137         mp_no value for 1.0 and 2.0.
15138         (norm): Use RADIXI instead of radixi.d.
15139         (denorm): Likewise.
15140         (__mul): Use 0.0 instead of zero.d.
15142 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15144         [BZ #14994]
15145         * math/s_casinh.c (__casinh): Reduce finite argument to first
15146         quadrant then set signs of results at the end.
15147         * math/s_casinhf.c (__casinhf): Likewise.
15148         * math/s_casinhl.c (__casinhl): Likewise.
15149         * math/libm-test.inc (casin_test): Add more tests.
15150         (casinh_test): Likewise.
15151         * sysdeps/i386/fpu/libm-test-ulps: Update.
15152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15154 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15156         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15158         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15160         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15161         declarations.
15162         (denorm): Likewise.
15163         (__mp_dbl): Likewise.
15164         (__inv): Likewise.
15166         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15167         and adjust the header comment.
15169         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15170         variable name from declaration.
15172 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15175         Initialize COMMON_CPUID_INDEX_7 element.
15176         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15177         (CPUID_RTM): Likewise.
15178         (HAS_RTM): Likewise.
15179         (COMMON_CPUID_INDEX_7): New enum.
15181 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15183         [BZ #14981]
15184         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15185         size is zero, record memory as freed.
15187 2013-01-03  Andreas Jaeger  <aj@suse.de>
15189         * po/ia.po: Add new Interlingua translation.
15191 2012-01-03  Allan McRae  <allan@archlinux.org>
15193         * locale/programs/localedef.c: Fix description of '--posix' flag.
15195 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15197         * NEWS: Update dates in second copyright notice.
15198         * README: Update copyright dates in example.
15199         * manual/libc.texinfo: Update copyright dates.
15200         * scripts/test-installation.pl: Update copyright date in --version
15201         output.
15203         * hurd/ctty-input.c: Fix copyright notice formatting.
15204         * hurd/ctty-output.c: Likewise.
15205         * hurd/dtable.c: Likewise.
15206         * hurd/hurd-raise.c: Likewise.
15207         * hurd/hurdprio.c: Likewise.
15208         * hurd/msgportdemux.c: Likewise.
15209         * misc/sys/file.h: Likewise.
15210         * misc/sys/ioctl.h: Likewise.
15211         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15212         * sysdeps/mach/hurd/chdir.c: Likewise.
15213         * sysdeps/mach/hurd/fchdir.c: Likewise.
15214         * sysdeps/mach/hurd/rename.c: Likewise.
15215         * sysdeps/mach/hurd/rmdir.c: Likewise.
15216         * sysdeps/mach/hurd/seekdir.c: Likewise.
15217         * sysdeps/mach/hurd/setsid.c: Likewise.
15218         * sysdeps/posix/wait3.c: Likewise.
15220         * All files with FSF copyright notices: Update copyright dates
15221         using scripts/update-copyrights.
15222         * intl/plural.c: Regenerated.
15223         * locale/programs/charmap-kw.h: Likewise.
15224         * locale/programs/locfile-kw.h: Likewise.
15226 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15228         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15229         four values.
15231         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15232         calculation loop and add branch prediction.
15234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15235         check access beyond bounds of m1np.
15237         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15238         MPTWO.
15239         (__inv): Remove local variable MPTWO to use the global
15240         constant.
15241         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15242         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15243         variable MPTWO.
15244         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15245         MP3HALFS static const.
15247 2013-01-01  David S. Miller  <davem@davemloft.net>
15249         * po/ca.po: Update from translation team.
15251 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15253         * scripts/update-copyrights: New file.
15254         * Makeconfig: Reformat copyright notice.
15255         * ctype/ctype.h: Likewise.
15256         * debug/swprintf_chk.c: Likewise.
15257         * elf/dl-cache.c: Likewise.
15258         * elf/dl-debug.c: Likewise.
15259         * elf/dl-object.c: Likewise.
15260         * grp/initgroups.c: Likewise.
15261         * hurd/Makefile: Likewise.
15262         * hurd/hurd/signal.h: Likewise.
15263         * hurd/hurdfault.c: Likewise.
15264         * hurd/hurdioctl.c: Likewise.
15265         * hurd/hurdlookup.c: Likewise.
15266         * hurd/intr-msg.c: Likewise.
15267         * iconv/gconv_open.c: Likewise.
15268         * libio/swprintf.c: Likewise.
15269         * locale/lc-ctype.c: Likewise.
15270         * locale/nl_langinfo.c: Likewise.
15271         * mach/Machrules: Likewise.
15272         * mach/Makefile: Likewise.
15273         * malloc/obstack.h: Likewise.
15274         * manual/Makefile: Likewise.
15275         * manual/tsort.awk: Likewise.
15276         * misc/bits/stab.def: Likewise.
15277         * nis/nis_print_group_entry.c: Likewise.
15278         * nis/nis_table.c: Likewise.
15279         * nis/nss_compat/compat-pwd.c: Likewise.
15280         * nis/nss_compat/compat-spwd.c: Likewise.
15281         * po/Makefile: Likewise.
15282         * posix/fnmatch.c: Likewise.
15283         * posix/regex.h: Likewise.
15284         * resolv/Makefile: Likewise.
15285         * resolv/nss_dns/dns-network.c: Likewise.
15286         * resolv/res_hconf.c: Likewise.
15287         * scripts/gen-sorted.awk: Likewise.
15288         * soft-fp/soft-fp.h: Likewise.
15289         * stdio-common/printf.h: Likewise.
15290         * stdlib/monetary.h: Likewise.
15291         * stdlib/random.c: Likewise.
15292         * stdlib/random_r.c: Likewise.
15293         * sysdeps/generic/Makefile: Likewise.
15294         * sysdeps/gnu/Makefile: Likewise.
15295         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15296         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15297         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15298         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15299         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15300         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15301         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15302         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15303         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15304         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15305         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15306         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15307         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15308         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15309         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15310         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15311         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15312         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15313         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15314         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15315         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15316         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15317         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15318         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15319         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15320         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15321         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15322         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15323         * sysdeps/mach/hurd/errnos.awk: Likewise.
15324         * sysdeps/mach/hurd/fork.c: Likewise.
15325         * sysdeps/mach/hurd/getcwd.c: Likewise.
15326         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15327         * sysdeps/mach/hurd/mmap.c: Likewise.
15328         * sysdeps/mach/hurd/utimes.c: Likewise.
15329         * sysdeps/mach/hurd/xmknod.c: Likewise.
15330         * sysdeps/posix/profil.c: Likewise.
15331         * sysdeps/posix/readdir_r.c: Likewise.
15332         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15333         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15334         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15335         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15337         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15338         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15339         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15341         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15342         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15343         * sysdeps/pthread/lio_listio.c: Likewise.
15344         * sysdeps/sparc/dl-procinfo.h: Likewise.
15345         * sysdeps/unix/i386/sysdep.S: Likewise.
15346         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15347         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15348         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15349         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15351         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15352         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15353         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15354         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15355         * sysdeps/wordsize-32/divdi3.c: Likewise.
15356         * time/sys/time.h: Likewise.
15357         * wcsmbs/Makefile: Likewise.
15359 2013-01-01  David S. Miller  <davem@davemloft.net>
15361         * po/fr.po: Update from translation team.
15363         * catgets/gencat.c: Update copyright year.
15364         * csu/version.c: Likewise.
15365         * debug/catchsegv.sh: Likewise.
15366         * debug/pcprofiledump.c: Likewise.
15367         * debug/xtrace.sh: Likewise.
15368         * elf/ldconfig.c: Likewise.
15369         * elf/ldd.bash.in: Likewise.
15370         * elf/pldd.c: Likewise.
15371         * elf/sotruss.ksh: Likewise.
15372         * elf/sprof.c: Likewise.
15373         * iconv/iconv_prog.c: Likewise.
15374         * iconv/iconvconfig.c: Likewise.
15375         * locale/programs/locale.c: Likewise.
15376         * locale/programs/localedef.c: Likewise.
15377         * login/programs/pt_chown.c: Likewise.
15378         * malloc/memusage.sh: Likewise.
15379         * malloc/memusagestat.c: Likewise.
15380         * malloc/mtrace.pl: Likewise.
15381         * nscd/nscd.c: Likewise.
15382         * nss/getent.c: Likewise.
15383         * nss/makedb.c: Likewise.
15384         * posix/getconf.c: Likewise.
15386 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15388         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15389         numbers.
15391 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15393         * math/bits/mathcalls.h (modf): Use __nonnull.
15395 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15397         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15398         (split): Use macro CN instead of the bare value.
15399         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15400         could be used.
15401         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15402         instead of the bare value.
15403         (power1): Likewise.
15405 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15407         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15408         __ATAN_TWOM.
15409         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15411         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15412         their values.
15413         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15414         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15415         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15416         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15418 2012-12-28  Andreas Jaeger  <aj@suse.de>
15420         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15421         values are from Linux 3.7.
15423         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15424         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15426 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15428         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15429         TRUE case.
15431         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15432         (norm): Likewise.
15433         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15434         variables with preprocessor constants.
15435         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15436         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15437         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15439 2012-12-27  Bruno Haible  <bruno@clisp.org>
15441         [BZ #14317]
15442         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15443         only if needed.
15445 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15447         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15448         and use variable directly.
15449         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15451         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15452         MPONE.
15453         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15454         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15455         variable MPONE.
15456         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15458         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15459         include directive.  Remove local variable MPONE.
15460         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15461         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15462         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15464 2012-12-25  David S. Miller  <davem@davemloft.net>
15466         * version.h (RELEASE): Set to "development".
15467         (VERSION): Set to "2.17.90".
15468         * NEWS: Add 2.18 section.
15470 2012-12-21  David S. Miller  <davem@davemloft.net>
15472         * po/hr.po: Update from translation team.
15474 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15476         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15478 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15480         * NEWS:  Mention new memcpy for MIPS.
15482 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15484         * manual/contrib.texi (Contributors): Spelling correction.
15486 2012-12-15  David S. Miller  <davem@davemloft.net>
15488         * po/ru.po: Update from translation team.
15490 2012-12-13  David S. Miller  <davem@davemloft.net>
15492         * NEWS: Mention IFUNC testsuite enhancements.
15494         * po/pl.po: Update from translation team.
15495         * po/bg.po: Likewise.
15497         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15498         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15500 2012-12-11  David S. Miller  <davem@davemloft.net>
15502         * po/sv.po: Update from translation team.
15504         * po/vi.po: Update from translation team.
15506         * po/cs.po: Update from translation team.
15508         * po/de.po: Update from translation team.
15509         * po/eo.po: Likewise.
15510         * po/nl.po: Likewise.
15512 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15514         [BZ #14246]
15515         * manual/argp.texi (Argp Helper Functions): Move node to follow
15516         Argp Parsing State.
15518         [BZ #14872]
15519         * manual/conf.texi (Limits on File System Capacity): Mention if
15520         terminating null is included in the max size.
15522 2012-12-10  Andreas Jaeger  <aj@suse.de>
15524         * po/cs.po: Update from translation team.
15526 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15528         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15529         void pointer and cast to uintptr_t.
15530         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15531         path.
15532         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15533         * sysdeps/s390/s390-64/memset.S: Likewise.
15535 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15537         [BZ #14833]
15538         * menual/message.texi (Message Translation): Fix typos.
15539         (Helper programs for gettext): Likewise.
15541 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15543         [BZ #14898]
15544         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15545         Change to -1.
15547 2012-12-07  David S. Miller  <davem@davemloft.net>
15549         * po/libc.pot: Update.
15551 2012-12-07  Richard Henderson  <rth@redhat.com>
15553         [BZ #10114]
15554         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15555         normal/normal case to before the switch.
15556         (_FP_DIV): Likewise.
15558 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15559             Mike Frysinger  <vapier@gentoo.org>
15561         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15562         check for __NR_fadvise64_64.
15564 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15566         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15567         0, not just to plain "0" as a statement.
15568         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15569         with cw.
15571 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15573         * NEWS: Use sourceware.org in Bugzilla URL.
15575 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15578         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15580         * stdio-common/tst-put-error.c (do_test): Add newline to the
15581         padded test to ensure flush.
15583 2012-12-05  Jeff Law  <law@redhat.com>
15585         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15587 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15589         * README: Don't refer to ports add-on as distributed separately.
15590         Mention AArch64 in list of systems supported in the ports add-on.
15592         * LICENSES: Add more non-FSF copyright and license notices.
15594         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15595         ((unused)).
15597         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15599         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15600         10000 as width of padded output.
15602 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15604         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15606         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15607         variable LX with __attribute__ ((unused)).
15608         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15609         Likewise.
15610         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15612         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15613         with __attribute__ ((unused)).
15615 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15617         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15619 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15621         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15622         (CFLAGS-nldbl-acos.c): New variable.
15623         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15624         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15625         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15626         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15627         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15628         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15629         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15630         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15631         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15632         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15633         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15634         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15635         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15636         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15637         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15638         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15639         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15640         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15641         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15642         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15643         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15644         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15645         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15646         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15647         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15648         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15649         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15650         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15651         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15652         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15653         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15654         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15655         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15656         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15657         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15658         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15659         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15660         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15661         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15662         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15663         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15664         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15665         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15666         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15667         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15668         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15669         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15670         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15671         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15672         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15673         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15674         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15675         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15676         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15677         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15678         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15679         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15680         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15681         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15682         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15683         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15684         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15685         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15686         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15687         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15688         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15689         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15690         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15691         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15692         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15693         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15694         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15695         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15696         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15697         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15698         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15699         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15700         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15701         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15702         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15703         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15704         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15705         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15706         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15707         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15708         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15709         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15710         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15711         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15712         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15713         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15714         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15715         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15716         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15717         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15718         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15719         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15722         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15724         [BZ #14914]
15725         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15726         whole low double instead of just low 47 bits when splitting values
15727         into two parts.
15729 2012-12-03  Allan McRae  <allan@archlinux.org>
15731         * manual/stdio.texi (Predefined Printf Handlers): Remove
15732         @hsep and @vsep usage.
15734 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15736         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15737         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15739 2012-12-03  Jeff Law  <law@redhat.com>
15741         * time/sys/time.h (settimeofday): Do not mark TV argument
15742         as __nonnull.
15744 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15746         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15747         when currently writing and seek to current position when not.
15748         * libio/Makefile (tests): Remove bug-fclose1.
15749         * libio/bug-fclose1.c: Delete.
15751 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15753         * manual/arith.texi (feenableexcept): Fix typo.
15754         (fedisableexcept): Likewise.
15756 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15758         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15759         second, differently-typed declaration, rather than a cast.
15761 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15763         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15764         * include/rpc/svc.h: ... here.
15766 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15768         [BZ #13013]
15769         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15770         depending n and resplen2 to catch cases where answer
15771         equals answerp2.
15773 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15775         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15776         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15778 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15782 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15784         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15786 2012-11-28  Jeff Law  <law@redhat.com>
15788         [BZ #13761]
15789         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15790         dataset_temporary.  Track alloca usage into alloca_used.
15791         If dataset is large allocate and release it via malloc/free.
15793 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15795         [BZ #14197]
15796         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15798 2012-11-28  David S. Miller  <davem@davemloft.net>
15800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15802 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15804         [BZ #14803]
15805         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15806         of pi/2 rounded to nearest to 64 bits.
15807         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15808         nearest to 64 bits.
15809         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15810         bits.
15812 2012-11-28  Jeff Law <law@redhat.com>
15813             Martin Osvald <mosvald@redhat.com>
15815         [BZ #14889]
15816         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15817         * sunrpc/svc.c: Include time.h.
15818         (__svc_accept_failed): New function.
15819         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15820         any reason other than EINTR, call __svc_accept_failed.
15821         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15822         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15824 2012-11-28  Andreas Schwab  <schwab@suse.de>
15826         * scripts/abilist.awk: Also handle indirect functions in .opd
15827         section.
15829 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15831         [BZ #13881]
15832         * sysdeps/x86/fpu/powl_helper.c: New file.
15833         * sysdeps/x86/fpu/Makefile: Likewise.
15834         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15835         (p3): New object.
15836         (__ieee754_powl): Use __powl_helper for finite arguments except
15837         integer exponents below 8.
15838         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15839         (p3): New object.
15840         (__ieee754_powl): Use __powl_helper for finite arguments except
15841         integer exponents below 8.
15842         * math/libm-test.inc (pow_test): Add more tests and enable some
15843         previously disabled tests.
15844         * sysdeps/i386/fpu/libm-test-ulps: Update.
15845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15847 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15848             Carlos O'Donell  <carlos_odonell@mentor.com>
15850         * nss/makedb.c (is_prime): Assert that input is odd and greater
15851         than 4.  Note that fact in a comment too.
15852         (next_prime): Add 4 to input.
15854 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15856         [BZ #11741]
15857         * libio/Makefile (tests): Add test case tst-fwrite-error.
15858         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15859         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15860         * libio/tst-fwrite-error.c: New test case.
15862 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15864         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15865         before casting to void *.
15866         * include/libc-internal.h (__pointer_type): New macro.
15867         (__integer_if_pointer_type_sub): Likewise.
15868         (__integer_if_pointer_type): Likewise.
15869         (cast_to_integer): Likewise.
15870         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15871         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15872         before casting to atomic64_t.
15873         (atomic_exchange_acq): Likewise.
15874         (__arch_exchange_and_add_body): Likewise.
15875         (__arch_add_body): Likewise.
15876         (atomic_add_negative): Likewise.
15877         (atomic_add_zero): Likewise.
15879 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15881         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15882         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15883         (add_fdes): Likewise.
15884         (linear_search_fdes): Likewise.
15885         (binary_search_unencoded_fdes): Likewise.
15887 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15889         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15891 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15893         * configure.in: Autodetect C++ header directories.
15894         * configure: Regenerated.
15896 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15898         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15900 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15904 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15906         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15907         LDBL_MANT_DIG == 106]: Disable some tests.
15908         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15909         Likewise.
15910         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15911         Likewise.
15913         [BZ #14871]
15914         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15915         input for small inputs.  Return +/- pi/2 for large inputs.
15916         * math/libm-test.inc (atan_test): Add more tests.
15918         * sysdeps/generic/unwind-dw2-fde-glibc.c
15919         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15920         __attribute__ ((unused)).
15922         [BZ #14645]
15923         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15924         x * y if x and y are nonzero and z is zero.
15926         [BZ #14811]
15927         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15928         nonzero exponents with absolute value below 0x1p-117 to +/-
15929         0x1p-117.
15931         [BZ #14869]
15932         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15933         up arguments below 2**-450, not just those below 2**-500.
15934         * math/libm-test.inc (hypot_test): Add another test.
15936         [BZ #14868]
15937         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15938         Return a+b for ratio over 2**120, not 2**60.
15939         * math/libm-test.inc (hypot_test): Add another test.
15941         * math/libm-test.inc (clog_test): Use
15942         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15943         (clog10_test): Likewise.
15945         [BZ #6778]
15946         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15948 2012-11-22  Andreas Schwab  <schwab@suse.de>
15950         * sysdeps/i386/fpu/libm-test-ulps: Update.
15952 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15954         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15955         printf output with newline.
15957 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15959         [BZ #14865]
15960         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15961         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15962         -z nodlopen, -z initfirst and -z execstack support.
15963         * configure: Regenerated.
15965         * elf/elf.h (DF_1_NODIRECT): New macro.
15966         (DF_1_IGNMULDEF): Likewise.
15967         (DF_1_NOKSYMS): Likewise.
15968         (DF_1_NOHDR): Likewise.
15969         (DF_1_EDITED): Likewise.
15970         (DF_1_NORELOC): Likewise.
15971         (DF_1_SYMINTPOSE): Likewise.
15972         (DF_1_GLOBAUDIT): Likewise.
15973         (DF_1_SINGLETON): Likewise.
15974         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15975         DT_1_SUPPORTED_MASK bits.
15976         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15978 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15980         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15982 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15984         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15985         macro.
15987         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15988         (sendmmsg): Move declarations...
15989         * socket/sys/socket.h: ... here.
15990         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15991         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15992         include it from...
15993         * socket/recvmmsg.c: ... this new file.
15994         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15995         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15996         definition of __sendmmsg hidden.
15997         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15998         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15999         Move ENOSYS stub into and include it from...
16000         * socket/sendmmsg.c: ... this new file.
16001         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16002         (sysdep_routines): Move recvmmsg and sendmmsg...
16003         * socket/Makefile (routines): ... here.
16004         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16005         (GLIBC_PRIVATE): Add __sendmmsg.
16006         * include/sys/socket.h (__sendmmsg): Add declarations.
16007         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16008         sendmmsg.
16010 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16012         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16013         variable I1 with __attribute__ ((unused)).
16014         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16016 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16018         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16019         DUMMY variables with __attribute__ ((unused)).
16021         * bits/byteswap.h: Include <bits/types.h>.
16022         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16024 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16026         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16027         string_t.  Do not manually set errno.
16028         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16029         length with __strnlen.  Make sure to both set errno and return it on
16030         failure.
16032 2012-11-19  David S. Miller  <davem@davemloft.net>
16034         With help from Joseph Myers.
16035         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16036         very large arguments properly.
16037         * math/libm-test.inc (atan_test): New tests.
16038         (atan2_test): New tests.
16039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16042 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16044         [BZ #14856]
16045         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16046         Define to 3.
16048         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16049         [POSIX] (EADDRNOTAVAIL): Likewise.
16050         [POSIX] (EAFNOSUPPORT): Likewise.
16051         [POSIX] (EALREADY): Likewise.
16052         [POSIX] (ECONNABORTED): Likewise.
16053         [POSIX] (ECONNREFUSED): Likewise.
16054         [POSIX] (ECONNRESET): Likewise.
16055         [POSIX] (EDESTADDRREQ): Likewise.
16056         [POSIX] (EDQUOT): Likewise.
16057         [POSIX] (EHOSTUNREACH): Likewise.
16058         [POSIX] (EIDRM): Likewise.
16059         [POSIX] (EISCONN): Likewise.
16060         [POSIX] (ELOOP): Likewise.
16061         [POSIX] (EMULTIHOP): Likewise.
16062         [POSIX] (ENETDOWN): Likewise.
16063         [POSIX] (ENETUNREACH): Likewise.
16064         [POSIX] (ENOBUFS): Likewise.
16065         [POSIX] (ENODATA): Likewise.
16066         [POSIX] (ENOLINK): Likewise.
16067         [POSIX] (ENOMSG): Likewise.
16068         [POSIX] (ENOPROTOOPT): Likewise.
16069         [POSIX] (ENOSR): Likewise.
16070         [POSIX] (ENOSTR): Likewise.
16071         [POSIX] (ENOTCONN): Likewise.
16072         [POSIX] (ENOTSOCK): Likewise.
16073         [POSIX] (EOPNOTSUPP): Likewise.
16074         [POSIX] (EOVERFLOW): Likewise.
16075         [POSIX] (EPROTO): Likewise.
16076         [POSIX] (EPROTONOSUPPORT): Likewise.
16077         [POSIX] (EPROTOTYPE): Likewise.
16078         [POSIX] (ESTALE): Likewise.
16079         [POSIX] (ETIME): Likewise.
16080         [POSIX] (ETXTBSY): Likewise.
16081         [POSIX] (EWOULDBLOCK): Likewise.
16082         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16083         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16084         [POSIX] (SEEK_CUR): Likewise.
16085         [POSIX] (SEEK_END): Likewise.
16086         [POSIX || UNIX98] (mode_t): Do not require.
16087         [POSIX] (off_t): Likewise.
16088         [POSIX] (pid_t): Likewise.
16089         [POSIX] (sys/stat.h): Do not allow header.
16090         [POSIX] (unistd.h): Likewise.
16091         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16092         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16093         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16094         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16095         require.
16096         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16097         sigevent): Specify elements.
16098         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16099         entry.
16100         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16101         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16103         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16104         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16105         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16106         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16107         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16108         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16109         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16110         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16111         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16112         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16113         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16114         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16115         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16116         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16117         Likewise.
16118         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16119         Likewise.
16120         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16121         Likewise.
16122         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16123         Likewise.
16124         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16125         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16126         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16127         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16128         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16129         Specify lower bound on value.
16130         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16131         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16132         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16133         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16134         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16135         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16136         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16137         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16138         value.
16139         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16140         as optional.
16141         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16142         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16143         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16144         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16145         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16146         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16147         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16148         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16149         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16150         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16151         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16152         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16153         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16154         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16155         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16156         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16157         entry.
16158         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16159         optional.
16160         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16161         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16162         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16163         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16164         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16165         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16166         Likewise.
16167         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16168         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16169         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16170         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16171         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16172         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16173         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16174         as optional.
16175         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16176         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16177         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16178         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16179         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16180         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16181         specify as optional.
16182         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16183         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16184         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16185         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16186         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16187         [XPG3] (NL_LANGMAX): Likewise.
16188         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16189         [POSIX || XPG3] (NL_NMAX): Likewise.
16190         [POSIX || XPG3] (NL_SETMAX): Likewise.
16191         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16192         [XPG3] (NZERO): Likewise.
16193         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16194         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16195         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16196         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16197         (REG_ERANGE): Expect.
16198         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16199         optional-constant.
16200         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16201         Use (void) in prototype.
16202         [POSIX] (*_t): Allow.
16203         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16204         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16205         (WRDE_BADVAL): Expect.
16207         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16208         expect.
16209         [XPG3 || XPG4] (O_RSYNC): Likewise.
16210         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16211         Likewise.
16212         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16213         [XPG3 || XPG4] (sigqueue): Likewise.
16214         [XPG3 || XPG4] (sigtimedwait): Likewise.
16215         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16216         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16217         [XPG3 || XPG4] (vsnprintf): Likewise.
16218         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16219         Likewise.
16220         [XPG3 || XPG4] (blksize_t): Likewise.
16221         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16222         Likewise.
16223         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16224         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16225         [XPG3 || XPG4] (struct itimerspec): Likewise.
16226         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16227         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16228         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16229         [XPG3 || XPG4] (clockid_t): Likewise.
16230         [XPG3 || XPG4] (timer_t): Likewise.
16231         [XPG3 || XPG4] (clock_getres): Likewise.
16232         [XPG3 || XPG4] (clock_gettime): Likewise.
16233         [XPG3 || XPG4] (clock_settime): Likewise.
16234         [XPG3 || XPG4] (nanosleep): Likewise.
16235         [XPG3 || XPG4] (timer_create): Likewise.
16236         [XPG3 || XPG4] (timer_delete): Likewise.
16237         [XPG3 || XPG4] (timer_gettime): Likewise.
16238         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16239         [XPG3 || XPG4] (timer_settime): Likewise.
16240         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16241         [XPG3 || XPG4] (getlogin_r): Likewise.
16242         [XPG3 || XPG4] (pread): Likewise.
16243         [XPG3 || XPG4] (pthread_atfork): Likewise.
16244         [XPG3 || XPG4] (pwrite): Likewise.
16246         [BZ #14835]
16247         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16248         <bits/siginfo.h>.
16250 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16252         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16253         finalizing MALLSTREAM.
16255         * sysdeps/mach/hurd/syncfs.c: New file.
16257 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16259         [BZ #14719]
16260         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16261         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16262         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16263         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16264         (_nss_dns_gethostbyname4_r): Likewise.
16265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16266         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16268 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16270         [BZ #13763]
16271         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16273 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16275         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16276         * elf/cache.c (print_entry): Print ",AArch64" for
16277         FLAG_AARCH64_LIB64
16279         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16280         * elf/cache.c (print_entry): Print ",hard-float" for
16281         FLAG_ARM_LIBHF.
16283 2012-11-18  David S. Miller  <davem@davemloft.net>
16285         With help from Joseph Myers.
16286         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16287         cutoff to 2**-13.
16288         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16289         cutoff to 2**-25.
16290         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16291         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16292         small.
16293         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16294         * math/libm-test.inc (y0_test): New tests.
16295         (y1_test): New tests.
16296         * sysdeps/i386/fpu/libm-test-ulps: Update.
16297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16300 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16302         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16303         64-bit targets.
16304         * configure: Regenerated.
16306 2012-11-17  David S. Miller  <davem@davemloft.net>
16308         [BZ #14811]
16309         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16310         nonzero exponents with absolute value below 0x1p-128 to +/-
16311         0x1p-128.
16313 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16315         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16317         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16319         * posix/getconf-speclist.c: New file.
16320         * posix/posix-envs.def: Likewise.
16321         * posix/confstr.c (START_ENV_GROUP): New macro.
16322         (END_ENV_GROUP): Likewise.
16323         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16324         (KNOWN_PRESENT_ENV_STRING): Likewise.
16325         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16326         (UNKNOWN_ENVIRONMENT): Likewise.
16327         (confstr): Include posix-envs.def instead of handling
16328         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16329         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16330         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16331         (END_ENV_GROUP): Likewise.
16332         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16333         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16334         (UNKNOWN_ENVIRONMENT): Likewise.
16335         (__sysconf): Include posix-envs.def instead of handling associated
16336         cases directly here.
16337         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16338         preprocessing getconf-speclist.c rather than running getconf or
16339         generating empty file.
16341 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16343         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16345 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16347         [BZ #14672]
16348         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16350 2012-11-16  David S. Miller  <davem@davemloft.net>
16352         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16353         smaller than LDBL_EPSILON/2.0L, just return xm1.
16355 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16357         * elf/tst-array1.c (init): Set constructor priority to 1000.
16358         (fini): Set destructor priority to 1000.
16359         * elf/tst-array2dep.c: Likewise.
16361 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16363         [BZ #11741]
16364         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16365         (_IO_new_file_xsputn): Also return EOF if none of the input
16366         data was written when overflow failed.
16367         * libio/iopadn.c (_IO_padn): Likewise.
16368         * libio/iowpadn.c (_IO_wpadn): Likewise.
16369         * stdio-common/tst-put-error.c: Add copyright notice.
16370         (do_test): Add case for printing padded string.
16371         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16372         _IO_padn returned error.
16373         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16374         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16375         return EOF.
16377 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16379         * libio/libioP.h: Add comment note that the references to C++
16380         bits are now obsolete.
16382 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16384         * math/libm-test.inc (check_complex): Use asprintf.
16386 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16388         * debug/pcprofiledump.c (print_version): Update copyright year.
16389         * malloc/memusagestat.c (print_version): Likewise.
16391 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16393         [BZ #14831]
16394         * elf/Makefile (tests): Add tst-audit8.
16395         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16396         ($(objpfx)tst-audit8.out): New target.
16397         (tst-audit8-ENV): New variable.
16398         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16399         audit if l_reloc_result is NULL.
16400         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16401         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16402         * elf/tst-audit8.c: New file.
16404 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16406         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16407         * misc/Makefile (CFLAGS-select.c): Define.
16408         * posix/Makefile (CFLAGS-pause.c): Define.
16410 2012-11-13  David S. Miller  <davem@davemloft.net>
16412         * crypt/Makefile: Move test targets after toplevel Rules
16413         inclusion.  Grab any necessary sysdep routines when linking.
16414         * crypt/md5.c (md5_process_block): Remove define, we will always
16415         name it __md5_process_block.
16416         (md5_finish_ctx): Update md5_process_block call.
16417         (md5_stream): Likewise.
16418         (md5_process_bytes): Likewise.
16419         (md5_process_block): Rename to __md5_process_block and move to ...
16420         * crypt/md5-block.c: ... here.
16421         * crypt/sha256.c (sha256_process_block): Move to ...
16422         * crypt/sha256-block.c: ... here.
16423         * crypt/sha512.c (sha512_process_block): Move to ...
16424         * crypt/sha512-block.c: ... here.
16425         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16426         path.
16427         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16428         * sysdeps/sparc/sparc64/multiarch/Makefile
16429         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16430         crypt subdir.
16431         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16432         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16433         multiarch changes.
16434         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16435         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16436         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16437         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16438         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16439         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16440         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16441         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16442         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16443         file.
16444         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16445         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16446         file.
16447         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16449 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16451         * timezone/tzselect.ksh: Update from tzcode git revision
16452         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16453         * timezone/zdump.c: Likewise.
16454         * timezone/zic.c: Likewise.
16455         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16456         in TZVERSION setting, not $(PKGVERSION).
16457         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16458         REPORT_BUGS_TO settings.
16460         [BZ #14838]
16461         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16462         macro.
16464 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16466         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16467         detection to immediately after _FP_ROUND().
16468         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16469         bits are 0.
16471 2012-11-11  David S. Miller  <davem@davemloft.net>
16473         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16474         inttypes.h
16475         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16476         __close rather than their public counterparts.
16478 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16480         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16481         file.
16482         [UNIX98] (sem_timedwait): Do not expect.
16483         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16484         [XPG4 || UNIX98] (sockatmark): Do not expect.
16485         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16486         (clock_getcpuclockid): Do not expect.
16487         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16488         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16489         Do not expect.
16490         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16491         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16492         [UNIX98] (vwscanf): Likewise.
16493         [UNIX98] (vswscanf): Likewise.
16495 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16497         * timezone/version.h: Remove file.
16498         * timezone/README: Do not refer to version.h.
16499         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16500         $(objpfx)version.h.
16501         ($(objpfx)zdump.o): Likewise.
16502         ($(objpfx)version.h): New target.
16504         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16505         2012i.
16506         * timezone/README: Don't mention modification to tzselect.ksh.
16507         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16508         work on unmodified tzselect.ksh.  Substitute version numbers in
16509         tzselect.ksh.
16511         * Makefile (format-me): Remove.
16512         (INSTALL): Adjust indentation.  Use commands directly instead of
16513         using $(format-me).
16515         * aclocal.m4 (ACX_PKGVERSION): New macro.
16516         (ACX_BUGURL): Likewise.
16517         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16518         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16519         (REPORT_BUGS_TO): Likewise.
16520         * configure: Regenerated.
16521         * config.h.in (PKGVERSION): New macro.
16522         (REPORT_BUGS_TO): Likewise.
16523         * config.make.in (PKGVERSION): New variable.
16524         (PKGVERSION_TEXI): Likewise.
16525         (REPORT_BUGS_TO): Likewise.
16526         (REPORT_BUGS_TEXI): Likewise.
16527         * Makefile (format-me): Use -I$(common-objpfx)manual.
16528         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16529         ($(common-objpfx)manual/%): New target.
16530         (manual/%): Remove target.
16531         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16532         (print_version): Use PKGVERSION.
16533         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16534         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16535         and REPORT_BUGS_TO.
16536         ($(objpfx)xtrace): Likewise.
16537         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16538         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16539         (print_version): Use PKGVERSION.
16540         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16541         (do_version): Use PKGVERSION.
16542         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16543         REPORT_BUGS_TO.
16544         (common-ldd-rewrite): Likewise.
16545         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16546         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16547         (print_version): Use PKGVERSION.
16548         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16549         * elf/pldd.c (argp_program_bug_address): Remove variable.
16550         (more_help): New function.
16551         (argp): Use more_help.
16552         (print_version): Use PKGVERSION.
16553         * elf/sln.c (main): Use PKGVERSION.
16554         (usage): Use REPORT_BUGS_TO.
16555         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16556         (top level): Use PKGVERSION.
16557         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16558         (print_version): Use PKGVERSION.
16559         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16560         (print_version): Use PKGVERSION.
16561         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16562         (print_version): Use PKGVERSION.
16563         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16564         (print_version): Use PKGVERSION.
16565         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16566         (print_version): Use PKGVERSION.
16567         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16568         (print_version): Use PKGVERSION.
16569         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16570         and BUGURL.
16571         ($(objpfx)memusage): Likewise.
16572         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16573         (do_version): Use PKGVERSION.
16574         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16575         (print_version): Use PKGVERSION.
16576         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16577         ($PKGVERSION): New variable.
16578         ($REPORT_BUGS_TO): Likewise.
16579         (usage): Use $REPORT_BUGS_TO.
16580         (top level): Use $PKGVERSION.
16581         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16582         ($(objpfx)pkgvers.texi): New rule.
16583         ($(objpfx)stamp-pkgvers): Likewise.
16584         * manual/install.texi: Include pkgvers.texi.
16585         (--with-pkgversion): Document new configure option.
16586         (--with-bugurl): Likewise.
16587         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16588         than necessarily for this particular distribution.  Use
16589         REPORT_BUGS_TO for where to report bugs.
16590         * INSTALL: Regenerated.
16591         * manual/libc.texinfo: Include pkgvers.texi.
16592         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16593         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16594         (print_version): Use PKGVERSION.
16595         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16596         (print_version): Use PKGVERSION.
16597         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16598         (print_version): Use PKGVERSION.
16599         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16600         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16601         macro.
16602         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16603         (print_version): Use PKGVERSION.
16604         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16605         (print_version): Use PKGVERSION.
16606         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16607         and PKGVERSION.
16609         * timezone/checktab.awk: Update from tzcode 2012i.
16610         * timezone/ialloc.c: Likewise.
16611         * timezone/private.h: Likewise.
16612         * timezone/scheck.c: Likewise.
16613         * timezone/tzfile.h: Likewise.
16614         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16615         (TZVERSION): Hardcode tzcode version number.
16616         * timezone/zdump.c: Update from tzcode 2012i.
16617         * timezone/zic.c: Likewise.
16618         * timezone/version.h: New file.
16619         * timezone/README: Describe version.h.  Update upstream location.
16621         [BZ #14824]
16622         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16623         (mktemp): Enable declaration.
16624         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16626         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16628         Likewise.
16629         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16630         Likewise.
16631         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16632         Likewise.
16633         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16634         Likewise.
16635         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16636         Likewise.
16637         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16638         Likewise.
16640         [BZ #14821]
16641         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16642         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16643         for copies of such integer values.
16644         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16645         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16647 2012-11-09  Andreas Jaeger  <aj@suse.de>
16649         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16650         definitions and declarations that are provided by
16651         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16653 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16655         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16656         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16657         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16658         definition.
16660 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16662         * elf/elf.h: Update comment before AArch64 relocations.
16664 2012-11-07  David S. Miller  <davem@davemloft.net>
16666         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16667         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16668         (__start_context): Declare.
16669         (__makecontext_ret): Delete.
16670         (__makecontext): Hook up __start_context instead of
16671         __makecontext_ret.
16672         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16673         (sysdep_routines): Add __start_context when in stdlib.
16675 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16677         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16678         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16679         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16680         hardcoded "nm".
16681         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16682         (READELF): New variable.  Use it instead of hardcoded "readelf".
16684 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16686         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16687         * sysdeps/x86/Makefile: Here.
16688         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16689         * sysdeps/x86/tst-xmmymm.sh: This.
16691 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16693         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16694         expectations.
16695         [UNIX98] (pthread_barrier_t): Do not expect.
16696         [UNIX98] (pthread_barrierattr_t): Likewise.
16697         [UNIX98] (pthread_spinlock_t): Likewise.
16698         [UNIX98] (pthread_barrier_destroy): Likewise.
16699         [UNIX98] (pthread_barrier_init): Likewise.
16700         [UNIX98] (pthread_barrier_wait): Likewise.
16701         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16702         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16703         [UNIX98] (pthread_barrierattr_init): Likewise.
16704         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16705         [UNIX98] (pthread_getcpuclockid): Likewise.
16706         [UNIX98] (pthread_mutex_timedlock): Likewise.
16707         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16708         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16709         [UNIX98] (pthread_sigmask): Likewise.
16710         [UNIX98] (pthread_spin_destroy): Likewise.
16711         [UNIX98] (pthread_spin_init): Likewise.
16712         [UNIX98] (pthread_spin_lock): Likewise.
16713         [UNIX98] (pthread_spin_trylock): Likewise.
16714         [UNIX98] (pthread_spin_unlock): Likewise.
16715         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16716         Do not expect.
16717         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16718         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16719         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16720         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16721         [XPG3 || XPG4] (pthread_key_t): Likewise.
16722         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16723         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16724         [XPG3 || XPG4] (pthread_once_t): Likewise.
16725         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16726         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16727         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16728         [XPG3 || XPG4] (pthread_t): Likewise.
16730         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16731         not expect.
16732         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16734         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16735         Change function return type to int.
16737         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16738         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16739         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16740         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16741         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16742         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16743         [!POSIX] (posix_madvise): Likewise.
16744         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16745         && !UNIX98].
16746         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16747         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16748         (mode_t): Likewise.
16749         (posix_mem_offset): Likewise.
16750         (posix_typed_mem_get_info): Likewise.
16751         (posix_typed_mem_open): Likewise.
16753         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16754         Change condition to [XOPEN2K8].
16756         * conform/conformtest.pl: Preprocess allow-header data with -x c
16757         instead of from stdin.
16758         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16759         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16760         [C99-based standards] (cerfc): Likewise.
16761         [C99-based standards] (cexp2): Likewise.
16762         [C99-based standards] (cexpm1): Likewise.
16763         [C99-based standards] (clog10): Likewise.
16764         [C99-based standards] (clog1p): Likewise.
16765         [C99-based standards] (clog2): Likewise.
16766         [C99-based standards] (clgamma): Likewise.
16767         [C99-based standards] (ctgamma): Likewise.
16768         [C99-based standards] (cerff): Likewise.
16769         [C99-based standards] (cerfcf): Likewise.
16770         [C99-based standards] (cexp2f): Likewise.
16771         [C99-based standards] (cexpm1f): Likewise.
16772         [C99-based standards] (clog10f): Likewise.
16773         [C99-based standards] (clog1pf): Likewise.
16774         [C99-based standards] (clog2f): Likewise.
16775         [C99-based standards] (clgammaf): Likewise.
16776         [C99-based standards] (ctgammaf): Likewise.
16777         [C99-based standards] (cerfl): Likewise.
16778         [C99-based standards] (cerfcl): Likewise.
16779         [C99-based standards] (cexp2l): Likewise.
16780         [C99-based standards] (cexpm1l): Likewise.
16781         [C99-based standards] (clog10l): Likewise.
16782         [C99-based standards] (clog1pl): Likewise.
16783         [C99-based standards] (clog2l): Likewise.
16784         [C99-based standards] (clgammal): Likewise.
16785         [C99-based standards] (ctgammal): Likewise.
16786         * conform/data/inttypes.h-data [C99-based standards]: Include
16787         stdint.h-data.  Remove all expectations for stdint.h contents.
16788         [C99-based standards] (PRI*): Do not allow.
16789         [C99-based standards] (SCN*): Likewise.
16790         [C99-based standards] (*_t): Likewise.
16791         [C99-based-standards] (PRId8): Expect macro.
16792         [C99-based-standards] (PRIi8): Likewise.
16793         [C99-based-standards] (PRIo8): Likewise.
16794         [C99-based-standards] (PRIu8): Likewise.
16795         [C99-based-standards] (PRIx8): Likewise.
16796         [C99-based-standards] (PRIX8): Likewise.
16797         [C99-based-standards] (SCNd8): Likewise.
16798         [C99-based-standards] (SCNi8): Likewise.
16799         [C99-based-standards] (SCNo8): Likewise.
16800         [C99-based-standards] (SCNu8): Likewise.
16801         [C99-based-standards] (SCNx8): Likewise.
16802         [C99-based-standards] (PRIdLEAST8): Likewise.
16803         [C99-based-standards] (PRIiLEAST8): Likewise.
16804         [C99-based-standards] (PRIoLEAST8): Likewise.
16805         [C99-based-standards] (PRIuLEAST8): Likewise.
16806         [C99-based-standards] (PRIxLEAST8): Likewise.
16807         [C99-based-standards] (PRIXLEAST8): Likewise.
16808         [C99-based-standards] (SCNdLEAST8): Likewise.
16809         [C99-based-standards] (SCNiLEAST8): Likewise.
16810         [C99-based-standards] (SCNoLEAST8): Likewise.
16811         [C99-based-standards] (SCNuLEAST8): Likewise.
16812         [C99-based-standards] (SCNxLEAST8): Likewise.
16813         [C99-based-standards] (PRIdFAST8): Likewise.
16814         [C99-based-standards] (PRIiFAST8): Likewise.
16815         [C99-based-standards] (PRIoFAST8): Likewise.
16816         [C99-based-standards] (PRIuFAST8): Likewise.
16817         [C99-based-standards] (PRIxFAST8): Likewise.
16818         [C99-based-standards] (PRIXFAST8): Likewise.
16819         [C99-based-standards] (SCNdFAST8): Likewise.
16820         [C99-based-standards] (SCNiFAST8): Likewise.
16821         [C99-based-standards] (SCNoFAST8): Likewise.
16822         [C99-based-standards] (SCNuFAST8): Likewise.
16823         [C99-based-standards] (SCNxFAST8): Likewise.
16824         [C99-based-standards] (PRId16): Likewise.
16825         [C99-based-standards] (PRIi16): Likewise.
16826         [C99-based-standards] (PRIo16): Likewise.
16827         [C99-based-standards] (PRIu16): Likewise.
16828         [C99-based-standards] (PRIx16): Likewise.
16829         [C99-based-standards] (PRIX16): Likewise.
16830         [C99-based-standards] (SCNd16): Likewise.
16831         [C99-based-standards] (SCNi16): Likewise.
16832         [C99-based-standards] (SCNo16): Likewise.
16833         [C99-based-standards] (SCNu16): Likewise.
16834         [C99-based-standards] (SCNx16): Likewise.
16835         [C99-based-standards] (PRIdLEAST16): Likewise.
16836         [C99-based-standards] (PRIiLEAST16): Likewise.
16837         [C99-based-standards] (PRIoLEAST16): Likewise.
16838         [C99-based-standards] (PRIuLEAST16): Likewise.
16839         [C99-based-standards] (PRIxLEAST16): Likewise.
16840         [C99-based-standards] (PRIXLEAST16): Likewise.
16841         [C99-based-standards] (SCNdLEAST16): Likewise.
16842         [C99-based-standards] (SCNiLEAST16): Likewise.
16843         [C99-based-standards] (SCNoLEAST16): Likewise.
16844         [C99-based-standards] (SCNuLEAST16): Likewise.
16845         [C99-based-standards] (SCNxLEAST16): Likewise.
16846         [C99-based-standards] (PRIdFAST16): Likewise.
16847         [C99-based-standards] (PRIiFAST16): Likewise.
16848         [C99-based-standards] (PRIoFAST16): Likewise.
16849         [C99-based-standards] (PRIuFAST16): Likewise.
16850         [C99-based-standards] (PRIxFAST16): Likewise.
16851         [C99-based-standards] (PRIXFAST16): Likewise.
16852         [C99-based-standards] (SCNdFAST16): Likewise.
16853         [C99-based-standards] (SCNiFAST16): Likewise.
16854         [C99-based-standards] (SCNoFAST16): Likewise.
16855         [C99-based-standards] (SCNuFAST16): Likewise.
16856         [C99-based-standards] (SCNxFAST16): Likewise.
16857         [C99-based-standards] (PRId32): Likewise.
16858         [C99-based-standards] (PRIi32): Likewise.
16859         [C99-based-standards] (PRIo32): Likewise.
16860         [C99-based-standards] (PRIu32): Likewise.
16861         [C99-based-standards] (PRIx32): Likewise.
16862         [C99-based-standards] (PRIX32): Likewise.
16863         [C99-based-standards] (SCNd32): Likewise.
16864         [C99-based-standards] (SCNi32): Likewise.
16865         [C99-based-standards] (SCNo32): Likewise.
16866         [C99-based-standards] (SCNu32): Likewise.
16867         [C99-based-standards] (SCNx32): Likewise.
16868         [C99-based-standards] (PRIdLEAST32): Likewise.
16869         [C99-based-standards] (PRIiLEAST32): Likewise.
16870         [C99-based-standards] (PRIoLEAST32): Likewise.
16871         [C99-based-standards] (PRIuLEAST32): Likewise.
16872         [C99-based-standards] (PRIxLEAST32): Likewise.
16873         [C99-based-standards] (PRIXLEAST32): Likewise.
16874         [C99-based-standards] (SCNdLEAST32): Likewise.
16875         [C99-based-standards] (SCNiLEAST32): Likewise.
16876         [C99-based-standards] (SCNoLEAST32): Likewise.
16877         [C99-based-standards] (SCNuLEAST32): Likewise.
16878         [C99-based-standards] (SCNxLEAST32): Likewise.
16879         [C99-based-standards] (PRIdFAST32): Likewise.
16880         [C99-based-standards] (PRIiFAST32): Likewise.
16881         [C99-based-standards] (PRIoFAST32): Likewise.
16882         [C99-based-standards] (PRIuFAST32): Likewise.
16883         [C99-based-standards] (PRIxFAST32): Likewise.
16884         [C99-based-standards] (PRIXFAST32): Likewise.
16885         [C99-based-standards] (SCNdFAST32): Likewise.
16886         [C99-based-standards] (SCNiFAST32): Likewise.
16887         [C99-based-standards] (SCNoFAST32): Likewise.
16888         [C99-based-standards] (SCNuFAST32): Likewise.
16889         [C99-based-standards] (SCNxFAST32): Likewise.
16890         [C99-based-standards] (PRId64): Likewise.
16891         [C99-based-standards] (PRIi64): Likewise.
16892         [C99-based-standards] (PRIo64): Likewise.
16893         [C99-based-standards] (PRIu64): Likewise.
16894         [C99-based-standards] (PRIx64): Likewise.
16895         [C99-based-standards] (PRIX64): Likewise.
16896         [C99-based-standards] (SCNd64): Likewise.
16897         [C99-based-standards] (SCNi64): Likewise.
16898         [C99-based-standards] (SCNo64): Likewise.
16899         [C99-based-standards] (SCNu64): Likewise.
16900         [C99-based-standards] (SCNx64): Likewise.
16901         [C99-based-standards] (PRIdLEAST64): Likewise.
16902         [C99-based-standards] (PRIiLEAST64): Likewise.
16903         [C99-based-standards] (PRIoLEAST64): Likewise.
16904         [C99-based-standards] (PRIuLEAST64): Likewise.
16905         [C99-based-standards] (PRIxLEAST64): Likewise.
16906         [C99-based-standards] (PRIXLEAST64): Likewise.
16907         [C99-based-standards] (SCNdLEAST64): Likewise.
16908         [C99-based-standards] (SCNiLEAST64): Likewise.
16909         [C99-based-standards] (SCNoLEAST64): Likewise.
16910         [C99-based-standards] (SCNuLEAST64): Likewise.
16911         [C99-based-standards] (SCNxLEAST64): Likewise.
16912         [C99-based-standards] (PRIdFAST64): Likewise.
16913         [C99-based-standards] (PRIiFAST64): Likewise.
16914         [C99-based-standards] (PRIoFAST64): Likewise.
16915         [C99-based-standards] (PRIuFAST64): Likewise.
16916         [C99-based-standards] (PRIxFAST64): Likewise.
16917         [C99-based-standards] (PRIXFAST64): Likewise.
16918         [C99-based-standards] (SCNdFAST64): Likewise.
16919         [C99-based-standards] (SCNiFAST64): Likewise.
16920         [C99-based-standards] (SCNoFAST64): Likewise.
16921         [C99-based-standards] (SCNuFAST64): Likewise.
16922         [C99-based-standards] (SCNxFAST64): Likewise.
16923         [C99-based-standards] (PRIdMAX): Likewise.
16924         [C99-based-standards] (PRIiMAX): Likewise.
16925         [C99-based-standards] (PRIoMAX): Likewise.
16926         [C99-based-standards] (PRIuMAX): Likewise.
16927         [C99-based-standards] (PRIxMAX): Likewise.
16928         [C99-based-standards] (PRIXMAX): Likewise.
16929         [C99-based-standards] (SCNdMAX): Likewise.
16930         [C99-based-standards] (SCNiMAX): Likewise.
16931         [C99-based-standards] (SCNoMAX): Likewise.
16932         [C99-based-standards] (SCNuMAX): Likewise.
16933         [C99-based-standards] (SCNxMAX): Likewise.
16934         [C99-based-standards] (PRIdPTR): Likewise.
16935         [C99-based-standards] (PRIiPTR): Likewise.
16936         [C99-based-standards] (PRIoPTR): Likewise.
16937         [C99-based-standards] (PRIuPTR): Likewise.
16938         [C99-based-standards] (PRIxPTR): Likewise.
16939         [C99-based-standards] (PRIXPTR): Likewise.
16940         [C99-based-standards] (SCNdPTR): Likewise.
16941         [C99-based-standards] (SCNiPTR): Likewise.
16942         [C99-based-standards] (SCNoPTR): Likewise.
16943         [C99-based-standards] (SCNuPTR): Likewise.
16944         [C99-based-standards] (SCNxPTR): Likewise.
16945         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16946         allow.
16947         * conform/data/stdint.h-data: Update comments to clarify
16948         requirements.
16949         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16950         type.
16951         [C99-based standards] (INT8_MAX): Likewise.
16952         [C99-based standards] (INT16_MIN): Likewise.
16953         [C99-based standards] (INT16_MAX): Likewise.
16954         [C99-based standards] (INT32_MIN): Likewise.
16955         [C99-based standards] (INT32_MAX): Likewise.
16956         [C99-based standards] (INT64_MIN): Likewise.
16957         [C99-based standards] (INT64_MAX): Likewise.
16958         [C99-based standards] (UINT8_MAX): Likewise.
16959         [C99-based standards] (UINT16_MAX): Likewise.
16960         [C99-based standards] (UINT32_MAX): Likewise.
16961         [C99-based standards] (UINT64_MAX): Likewise.
16962         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16963         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16964         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16965         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16966         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16967         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16968         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16969         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16970         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16971         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16972         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16973         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16974         [C99-based standards] (INT_FAST8_MIN): Likewise.
16975         [C99-based standards] (INT_FAST8_MAX): Likewise.
16976         [C99-based standards] (INT_FAST16_MIN): Likewise.
16977         [C99-based standards] (INT_FAST16_MAX): Likewise.
16978         [C99-based standards] (INT_FAST32_MIN): Likewise.
16979         [C99-based standards] (INT_FAST32_MAX): Likewise.
16980         [C99-based standards] (INT_FAST64_MIN): Likewise.
16981         [C99-based standards] (INT_FAST64_MAX): Likewise.
16982         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16983         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16984         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16985         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16986         [C99-based standards] (INTPTR_MIN): Likewise.
16987         [C99-based standards] (INTPTR_MAX): Likewise.
16988         [C99-based standards] (UINTPTR_MAX): Likewise.
16989         [C99-based standards] (INTMAX_MIN): Likewise.
16990         [C99-based standards] (INTMAX_MAX): Likewise.
16991         [C99-based standards] (UINTMAX_MAX): Likewise.
16992         [C99-based standards] (PTRDIFF_MIN): Likewise.
16993         [C99-based standards] (PTRDIFF_MAX): Likewise.
16994         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16995         [C99-based standards] (SIZE_MAX): Likewise.
16996         [C99-based standards] (WCHAR_MAX): Likewise.
16997         [C99-based standards] (WINT_MAX): Likewise.
16998         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16999         constraint on value.
17000         [C99-based standards] (WCHAR_MIN): Likewise.
17001         [C99-based standards] (WINT_MIN): Likewise.
17002         [C99-based standards] (*_t): Allow.
17003         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17004         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17005         Include math.h-data and complex.h-data.  Remove all expectations
17006         of math.h and complex.h contents.
17007         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17008         at end of line.
17009         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17010         (struct tm): Expect tag.
17011         [C99-based-standards] (wcstof): Expect function.
17012         [C99-based-standards] (wcstold): Likewise.
17013         [C99-based-standards] (wcstoll): Likewise.
17014         [C99-based-standards] (wcstoull): Likewise.
17015         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17016         macro-int-constant.  Specify type.
17017         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17018         constraint on value.
17019         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17020         Specify type.
17021         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17022         Specify value.
17023         [ISO C standards]: Do not allow headers.
17024         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17025         wcs[abcdefghijklmnopqrstuvwxyz]*.
17026         [ISO C standards] (*_t): Do not allow.
17027         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17028         Expect function.
17029         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17030         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17031         Specify type.
17032         [ISO C standards]: Do not allow headers.
17033         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17034         is[abcdefghijklmnopqrstuvwxyz]*.
17035         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17036         to[abcdefghijklmnopqrstuvwxyz]*.
17037         [ISO C standards] (*_t): Do not allow.
17038         * conform/data/stdalign.h-data: New file.
17039         * conform/data/stdbool.h-data: Likewise.
17040         * conform/data/stdnoreturn.h-data: Likewise.
17042 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17044         [BZ #14815]
17045         * manual/filesys.texi (Directory Entries): Typo fix.
17046         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17048 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17050         * elf/elf.h (EM_AARCH64): New macro.
17051         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17052         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17053         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17054         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17055         (R_AARCH64_TLSDESC): Likewise.
17056         (NT_ARM_TLS): Likewise.
17057         (NT_ARM_HW_BREAK): Likewise.
17058         (NT_ARM_HW_WATCH): Likewise.
17060 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17062         [BZ #14811]
17063         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17064         (__ieee754_powl): Saturate nonzero exponents with absolute value
17065         below 0x1p-79 to +/- 0x1p-79.
17066         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17067         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17068         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17069         nonzero exponents with absolute value below 0x1p-32 to +/-
17070         0x1p-32.
17071         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17072         (__ieee754_powl): Saturate nonzero exponents with absolute value
17073         below 0x1p-79 to +/- 0x1p-79.
17074         * math/libm-test.inc (pow_test): Add more tests.
17076 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17078         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17079         _dl_s390_cap_flags with kernel. Increase string length.
17080         (_dl_s390_platforms): Add z196 and zEC12.
17082 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17084         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17085         Change XOPEN21K to XOPEN2K.
17087 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17089         * string/memmove.c: Use memcpy when possible.
17091 2012-11-06  Andreas Jaeger  <aj@suse.de>
17093         * po/eo.po: Update from translation team.
17095 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17097         [BZ #14793]
17098         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17099         exponent and small x and y exponents, scale x or y up.  Increase
17100         by 2 the exponent used in scaling up.
17101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17103         * math/libm-test.inc (fma_test): Add more tests.
17104         (fma_test_towardzero): Likewise.
17105         (fma_test_downward): Likewise.
17106         (fma_test_upward): Likewise.
17108 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17110         [BZ #14805]
17111         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17112         fenv_t *.
17114         [BZ #14801]
17115         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17116         namespace for names of struct fields.
17117         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17118         fenv_t fields.
17119         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17120         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17122 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17124         [BZ #3665]
17125         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17127 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17129         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17130         PTR_DEMANGLE.
17132         [BZ #5246]
17133         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17134         PTR_DEMANGLE.
17136 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17138         [BZ #14797]
17139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17140         definitely overflow as x * y not x * y + z.
17141         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17142         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17143         * math/libm-test.inc (fma_test): Add more tests.
17144         (fma_test_towardzero): Likewise.
17145         (fma_test_downward): Likewise.
17146         (fma_test_upward): Likewise.
17148 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17150         [BZ #157]
17152         * include/stub-tag.h: Remove file.
17153         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17154         '#include' of it.
17155         * manual/maint.texi (Porting): Don't reference it.
17156         * Makerules ($(objpfx)stubs): Likewise.
17157         * dirent/closedir.c: Don't include <stub-tag.h>.
17158         * dirent/dirfd.c: Likewise.
17159         * dirent/fdopendir.c: Likewise.
17160         * dirent/getdents.c: Likewise.
17161         * dirent/getdents64.c: Likewise.
17162         * dirent/opendir.c: Likewise.
17163         * dirent/readdir.c: Likewise.
17164         * dirent/readdir64.c: Likewise.
17165         * dirent/readdir64_r.c: Likewise.
17166         * dirent/readdir_r.c: Likewise.
17167         * dirent/rewinddir.c: Likewise.
17168         * dirent/seekdir.c: Likewise.
17169         * dirent/telldir.c: Likewise.
17170         * gmon/profil.c: Likewise.
17171         * grp/setgroups.c: Likewise.
17172         * inet/if_index.c: Likewise.
17173         * io/access.c: Likewise.
17174         * io/chdir.c: Likewise.
17175         * io/chmod.c: Likewise.
17176         * io/chown.c: Likewise.
17177         * io/close.c: Likewise.
17178         * io/dup.c: Likewise.
17179         * io/dup2.c: Likewise.
17180         * io/dup3.c: Likewise.
17181         * io/euidaccess.c: Likewise.
17182         * io/faccessat.c: Likewise.
17183         * io/fchdir.c: Likewise.
17184         * io/fchmod.c: Likewise.
17185         * io/fchmodat.c: Likewise.
17186         * io/fchown.c: Likewise.
17187         * io/fchownat.c: Likewise.
17188         * io/fcntl.c: Likewise.
17189         * io/flock.c: Likewise.
17190         * io/fstatfs.c: Likewise.
17191         * io/fstatfs64.c: Likewise.
17192         * io/fstatvfs.c: Likewise.
17193         * io/fstatvfs64.c: Likewise.
17194         * io/futimens.c: Likewise.
17195         * io/fxstat.c: Likewise.
17196         * io/fxstat64.c: Likewise.
17197         * io/fxstatat.c: Likewise.
17198         * io/fxstatat64.c: Likewise.
17199         * io/getcwd.c: Likewise.
17200         * io/isatty.c: Likewise.
17201         * io/lchmod.c: Likewise.
17202         * io/lchown.c: Likewise.
17203         * io/link.c: Likewise.
17204         * io/linkat.c: Likewise.
17205         * io/lseek.c: Likewise.
17206         * io/lseek64.c: Likewise.
17207         * io/lxstat64.c: Likewise.
17208         * io/mkdir.c: Likewise.
17209         * io/mkdirat.c: Likewise.
17210         * io/mkfifo.c: Likewise.
17211         * io/mkfifoat.c: Likewise.
17212         * io/open.c: Likewise.
17213         * io/open64.c: Likewise.
17214         * io/openat.c: Likewise.
17215         * io/openat64.c: Likewise.
17216         * io/pipe.c: Likewise.
17217         * io/pipe2.c: Likewise.
17218         * io/poll.c: Likewise.
17219         * io/posix_fadvise.c: Likewise.
17220         * io/posix_fadvise64.c: Likewise.
17221         * io/posix_fallocate.c: Likewise.
17222         * io/posix_fallocate64.c: Likewise.
17223         * io/read.c: Likewise.
17224         * io/readlink.c: Likewise.
17225         * io/readlinkat.c: Likewise.
17226         * io/rmdir.c: Likewise.
17227         * io/sendfile.c: Likewise.
17228         * io/sendfile64.c: Likewise.
17229         * io/statfs.c: Likewise.
17230         * io/statfs64.c: Likewise.
17231         * io/statvfs.c: Likewise.
17232         * io/statvfs64.c: Likewise.
17233         * io/symlink.c: Likewise.
17234         * io/symlinkat.c: Likewise.
17235         * io/ttyname.c: Likewise.
17236         * io/ttyname_r.c: Likewise.
17237         * io/umask.c: Likewise.
17238         * io/unlink.c: Likewise.
17239         * io/unlinkat.c: Likewise.
17240         * io/utime.c: Likewise.
17241         * io/utimensat.c: Likewise.
17242         * io/write.c: Likewise.
17243         * io/xmknod.c: Likewise.
17244         * io/xmknodat.c: Likewise.
17245         * io/xstat.c: Likewise.
17246         * io/xstat64.c: Likewise.
17247         * login/getpt.c: Likewise.
17248         * login/grantpt.c: Likewise.
17249         * login/unlockpt.c: Likewise.
17250         * math/e_acoshl.c: Likewise.
17251         * math/e_acosl.c: Likewise.
17252         * math/e_asinl.c: Likewise.
17253         * math/e_atan2l.c: Likewise.
17254         * math/e_atanhl.c: Likewise.
17255         * math/e_coshl.c: Likewise.
17256         * math/e_expl.c: Likewise.
17257         * math/e_fmodl.c: Likewise.
17258         * math/e_gammal_r.c: Likewise.
17259         * math/e_hypotl.c: Likewise.
17260         * math/e_j0l.c: Likewise.
17261         * math/e_j1l.c: Likewise.
17262         * math/e_jnl.c: Likewise.
17263         * math/e_lgammal_r.c: Likewise.
17264         * math/e_log10l.c: Likewise.
17265         * math/e_log2l.c: Likewise.
17266         * math/e_logl.c: Likewise.
17267         * math/e_powl.c: Likewise.
17268         * math/e_rem_pio2l.c: Likewise.
17269         * math/e_sinhl.c: Likewise.
17270         * math/e_sqrtl.c: Likewise.
17271         * math/fclrexcpt.c: Likewise.
17272         * math/fedisblxcpt.c: Likewise.
17273         * math/feenablxcpt.c: Likewise.
17274         * math/fegetenv.c: Likewise.
17275         * math/fegetexcept.c: Likewise.
17276         * math/fegetround.c: Likewise.
17277         * math/feholdexcpt.c: Likewise.
17278         * math/fesetenv.c: Likewise.
17279         * math/fesetround.c: Likewise.
17280         * math/feupdateenv.c: Likewise.
17281         * math/fgetexcptflg.c: Likewise.
17282         * math/fraiseexcpt.c: Likewise.
17283         * math/fsetexcptflg.c: Likewise.
17284         * math/ftestexcept.c: Likewise.
17285         * math/k_cosl.c: Likewise.
17286         * math/k_rem_pio2l.c: Likewise.
17287         * math/k_sinl.c: Likewise.
17288         * math/k_tanl.c: Likewise.
17289         * math/s_asinhl.c: Likewise.
17290         * math/s_atanl.c: Likewise.
17291         * math/s_cbrtl.c: Likewise.
17292         * math/s_erfl.c: Likewise.
17293         * math/s_expm1l.c: Likewise.
17294         * math/s_log1pl.c: Likewise.
17295         * math/s_tanhl.c: Likewise.
17296         * misc/acct.c: Likewise.
17297         * misc/brk.c: Likewise.
17298         * misc/chflags.c: Likewise.
17299         * misc/chroot.c: Likewise.
17300         * misc/fchflags.c: Likewise.
17301         * misc/fgetxattr.c: Likewise.
17302         * misc/flistxattr.c: Likewise.
17303         * misc/fremovexattr.c: Likewise.
17304         * misc/fsetxattr.c: Likewise.
17305         * misc/fsync.c: Likewise.
17306         * misc/ftruncate.c: Likewise.
17307         * misc/futimes.c: Likewise.
17308         * misc/futimesat.c: Likewise.
17309         * misc/getdomain.c: Likewise.
17310         * misc/getdtsz.c: Likewise.
17311         * misc/gethostid.c: Likewise.
17312         * misc/gethostname.c: Likewise.
17313         * misc/getloadavg.c: Likewise.
17314         * misc/getpagesize.c: Likewise.
17315         * misc/getsysstats.c: Likewise.
17316         * misc/getxattr.c: Likewise.
17317         * misc/gtty.c: Likewise.
17318         * misc/ioctl.c: Likewise.
17319         * misc/lgetxattr.c: Likewise.
17320         * misc/listxattr.c: Likewise.
17321         * misc/llistxattr.c: Likewise.
17322         * misc/lremovexattr.c: Likewise.
17323         * misc/lsetxattr.c: Likewise.
17324         * misc/lutimes.c: Likewise.
17325         * misc/madvise.c: Likewise.
17326         * misc/mincore.c: Likewise.
17327         * misc/mlock.c: Likewise.
17328         * misc/mlockall.c: Likewise.
17329         * misc/mmap.c: Likewise.
17330         * misc/mprotect.c: Likewise.
17331         * misc/msync.c: Likewise.
17332         * misc/munlock.c: Likewise.
17333         * misc/munlockall.c: Likewise.
17334         * misc/munmap.c: Likewise.
17335         * misc/preadv.c: Likewise.
17336         * misc/preadv64.c: Likewise.
17337         * misc/ptrace.c: Likewise.
17338         * misc/pwritev.c: Likewise.
17339         * misc/pwritev64.c: Likewise.
17340         * misc/readv.c: Likewise.
17341         * misc/reboot.c: Likewise.
17342         * misc/remap_file_pages.c: Likewise.
17343         * misc/removexattr.c: Likewise.
17344         * misc/revoke.c: Likewise.
17345         * misc/select.c: Likewise.
17346         * misc/setdomain.c: Likewise.
17347         * misc/setegid.c: Likewise.
17348         * misc/seteuid.c: Likewise.
17349         * misc/sethostid.c: Likewise.
17350         * misc/sethostname.c: Likewise.
17351         * misc/setregid.c: Likewise.
17352         * misc/setreuid.c: Likewise.
17353         * misc/setxattr.c: Likewise.
17354         * misc/sstk.c: Likewise.
17355         * misc/stty.c: Likewise.
17356         * misc/swapoff.c: Likewise.
17357         * misc/swapon.c: Likewise.
17358         * misc/sync.c: Likewise.
17359         * misc/syncfs.c: Likewise.
17360         * misc/syscall.c: Likewise.
17361         * misc/truncate.c: Likewise.
17362         * misc/ualarm.c: Likewise.
17363         * misc/usleep.c: Likewise.
17364         * misc/ustat.c: Likewise.
17365         * misc/utimes.c: Likewise.
17366         * misc/vhangup.c: Likewise.
17367         * misc/writev.c: Likewise.
17368         * posix/_exit.c: Likewise.
17369         * posix/alarm.c: Likewise.
17370         * posix/execve.c: Likewise.
17371         * posix/fexecve.c: Likewise.
17372         * posix/fork.c: Likewise.
17373         * posix/fpathconf.c: Likewise.
17374         * posix/getaddrinfo.c: Likewise.
17375         * posix/getegid.c: Likewise.
17376         * posix/geteuid.c: Likewise.
17377         * posix/getgid.c: Likewise.
17378         * posix/getgroups.c: Likewise.
17379         * posix/getlogin.c: Likewise.
17380         * posix/getlogin_r.c: Likewise.
17381         * posix/getpgid.c: Likewise.
17382         * posix/getpid.c: Likewise.
17383         * posix/getppid.c: Likewise.
17384         * posix/getresgid.c: Likewise.
17385         * posix/getresuid.c: Likewise.
17386         * posix/getsid.c: Likewise.
17387         * posix/getuid.c: Likewise.
17388         * posix/glob64.c: Likewise.
17389         * posix/nanosleep.c: Likewise.
17390         * posix/pathconf.c: Likewise.
17391         * posix/pause.c: Likewise.
17392         * posix/posix_madvise.c: Likewise.
17393         * posix/pread.c: Likewise.
17394         * posix/pread64.c: Likewise.
17395         * posix/pwrite.c: Likewise.
17396         * posix/pwrite64.c: Likewise.
17397         * posix/sched_getaffinity.c: Likewise.
17398         * posix/sched_getp.c: Likewise.
17399         * posix/sched_gets.c: Likewise.
17400         * posix/sched_primax.c: Likewise.
17401         * posix/sched_primin.c: Likewise.
17402         * posix/sched_rr_gi.c: Likewise.
17403         * posix/sched_setaffinity.c: Likewise.
17404         * posix/sched_setp.c: Likewise.
17405         * posix/sched_sets.c: Likewise.
17406         * posix/sched_yield.c: Likewise.
17407         * posix/setgid.c: Likewise.
17408         * posix/setlogin.c: Likewise.
17409         * posix/setpgid.c: Likewise.
17410         * posix/setresgid.c: Likewise.
17411         * posix/setresuid.c: Likewise.
17412         * posix/setsid.c: Likewise.
17413         * posix/setuid.c: Likewise.
17414         * posix/sleep.c: Likewise.
17415         * posix/spawni.c: Likewise.
17416         * posix/sysconf.c: Likewise.
17417         * posix/times.c: Likewise.
17418         * posix/wait.c: Likewise.
17419         * posix/wait3.c: Likewise.
17420         * posix/wait4.c: Likewise.
17421         * posix/waitpid.c: Likewise.
17422         * resolv/gai_sigqueue.c: Likewise.
17423         * resource/getpriority.c: Likewise.
17424         * resource/getrlimit.c: Likewise.
17425         * resource/getrusage.c: Likewise.
17426         * resource/nice.c: Likewise.
17427         * resource/setpriority.c: Likewise.
17428         * resource/setrlimit.c: Likewise.
17429         * resource/ulimit.c: Likewise.
17430         * rt/aio_cancel.c: Likewise.
17431         * rt/aio_fsync.c: Likewise.
17432         * rt/aio_read.c: Likewise.
17433         * rt/aio_sigqueue.c: Likewise.
17434         * rt/aio_suspend.c: Likewise.
17435         * rt/aio_write.c: Likewise.
17436         * rt/clock_getres.c: Likewise.
17437         * rt/clock_gettime.c: Likewise.
17438         * rt/clock_nanosleep.c: Likewise.
17439         * rt/clock_settime.c: Likewise.
17440         * rt/lio_listio.c: Likewise.
17441         * rt/mq_close.c: Likewise.
17442         * rt/mq_getattr.c: Likewise.
17443         * rt/mq_notify.c: Likewise.
17444         * rt/mq_open.c: Likewise.
17445         * rt/mq_receive.c: Likewise.
17446         * rt/mq_send.c: Likewise.
17447         * rt/mq_setattr.c: Likewise.
17448         * rt/mq_timedreceive.c: Likewise.
17449         * rt/mq_timedsend.c: Likewise.
17450         * rt/mq_unlink.c: Likewise.
17451         * rt/shm_open.c: Likewise.
17452         * rt/shm_unlink.c: Likewise.
17453         * rt/timer_create.c: Likewise.
17454         * rt/timer_delete.c: Likewise.
17455         * rt/timer_getoverr.c: Likewise.
17456         * rt/timer_gettime.c: Likewise.
17457         * rt/timer_settime.c: Likewise.
17458         * setjmp/__longjmp.c: Likewise.
17459         * setjmp/setjmp.c: Likewise.
17460         * signal/kill.c: Likewise.
17461         * signal/killpg.c: Likewise.
17462         * signal/raise.c: Likewise.
17463         * signal/sigaction.c: Likewise.
17464         * signal/sigaltstack.c: Likewise.
17465         * signal/sigblock.c: Likewise.
17466         * signal/sigignore.c: Likewise.
17467         * signal/sigintr.c: Likewise.
17468         * signal/signal.c: Likewise.
17469         * signal/sigpause.c: Likewise.
17470         * signal/sigpending.c: Likewise.
17471         * signal/sigqueue.c: Likewise.
17472         * signal/sigreturn.c: Likewise.
17473         * signal/sigset.c: Likewise.
17474         * signal/sigsetmask.c: Likewise.
17475         * signal/sigstack.c: Likewise.
17476         * signal/sigsuspend.c: Likewise.
17477         * signal/sigtimedwait.c: Likewise.
17478         * signal/sigvec.c: Likewise.
17479         * signal/sigwait.c: Likewise.
17480         * signal/sigwaitinfo.c: Likewise.
17481         * signal/sysv_signal.c: Likewise.
17482         * socket/accept.c: Likewise.
17483         * socket/accept4.c: Likewise.
17484         * socket/bind.c: Likewise.
17485         * socket/connect.c: Likewise.
17486         * socket/getpeername.c: Likewise.
17487         * socket/getsockname.c: Likewise.
17488         * socket/getsockopt.c: Likewise.
17489         * socket/isfdtype.c: Likewise.
17490         * socket/listen.c: Likewise.
17491         * socket/recv.c: Likewise.
17492         * socket/recvfrom.c: Likewise.
17493         * socket/recvmsg.c: Likewise.
17494         * socket/send.c: Likewise.
17495         * socket/sendmsg.c: Likewise.
17496         * socket/sendto.c: Likewise.
17497         * socket/setsockopt.c: Likewise.
17498         * socket/shutdown.c: Likewise.
17499         * socket/sockatmark.c: Likewise.
17500         * socket/socket.c: Likewise.
17501         * socket/socketpair.c: Likewise.
17502         * stdio-common/ctermid.c: Likewise.
17503         * stdio-common/cuserid.c: Likewise.
17504         * stdio-common/remove.c: Likewise.
17505         * stdio-common/rename.c: Likewise.
17506         * stdio-common/renameat.c: Likewise.
17507         * stdio-common/tempname.c: Likewise.
17508         * stdlib/getcontext.c: Likewise.
17509         * stdlib/makecontext.c: Likewise.
17510         * stdlib/setcontext.c: Likewise.
17511         * stdlib/swapcontext.c: Likewise.
17512         * stdlib/system.c: Likewise.
17513         * streams/fattach.c: Likewise.
17514         * streams/fdetach.c: Likewise.
17515         * streams/getmsg.c: Likewise.
17516         * streams/getpmsg.c: Likewise.
17517         * streams/putmsg.c: Likewise.
17518         * streams/putpmsg.c: Likewise.
17519         * sysdeps/unix/bsd/getpt.c: Likewise.
17520         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17521         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17522         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17524         Likewise.
17525         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17526         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17527         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17528         * sysvipc/msgctl.c: Likewise.
17529         * sysvipc/msgget.c: Likewise.
17530         * sysvipc/msgrcv.c: Likewise.
17531         * sysvipc/msgsnd.c: Likewise.
17532         * sysvipc/semctl.c: Likewise.
17533         * sysvipc/semget.c: Likewise.
17534         * sysvipc/semop.c: Likewise.
17535         * sysvipc/semtimedop.c: Likewise.
17536         * sysvipc/shmat.c: Likewise.
17537         * sysvipc/shmctl.c: Likewise.
17538         * sysvipc/shmdt.c: Likewise.
17539         * sysvipc/shmget.c: Likewise.
17540         * termios/tcdrain.c: Likewise.
17541         * termios/tcflow.c: Likewise.
17542         * termios/tcflush.c: Likewise.
17543         * termios/tcgetattr.c: Likewise.
17544         * termios/tcgetpgrp.c: Likewise.
17545         * termios/tcsendbrk.c: Likewise.
17546         * termios/tcsetattr.c: Likewise.
17547         * termios/tcsetpgrp.c: Likewise.
17548         * time/adjtime.c: Likewise.
17549         * time/clock.c: Likewise.
17550         * time/getitimer.c: Likewise.
17551         * time/gettimeofday.c: Likewise.
17552         * time/setitimer.c: Likewise.
17553         * time/settimeofday.c: Likewise.
17554         * time/stime.c: Likewise.
17555         * time/time.c: Likewise.
17557 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17559         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17560         /usr/old/bin.
17562         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17563         instead of spaces.
17564         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17566 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17568         [BZ #14796]
17569         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17570         FE_TONEAREST before applying Dekker multiplication and Knuth
17571         addition.  Clear inexact exceptions and check for exact zero
17572         results afterwards.
17573         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17574         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17576         * math/libm-test.inc (fma_test): Add more tests.
17577         (fma_test_towardzero): Likewise.
17578         (fma_test_downward): Likewise.
17579         (fma_test_upward): Likewise.
17580         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17581         function.
17582         (libc_fesetround): New macro.
17583         (libc_fesetroundf): Likewise.
17584         (libc_fesetroundl): Likewise.
17585         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17586         function.
17587         (libc_fesetround_387): Likewise.
17588         (libc_fesetroundf): New macro.
17589         (libc_fesetround): Likewise.
17590         (libc_fesetroundl): Likewise.
17591         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17592         function.
17593         (libc_fesetroundf): New macro.
17594         (libc_fesetround): Likewise.
17595         (libc_fesetroundl): Likewise.
17596         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17597         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17598         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17599         libm_hidden_ver.
17600         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17601         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17602         libm_hidden_def.
17603         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17604         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17605         libm_hidden_ver.
17606         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17607         libm_hidden_def.
17609         [BZ #3439]
17610         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17611         integer constant usable in #if and use that to give value to enum
17612         constant.
17613         (FE_DIVBYZERO): Likewise.
17614         (FE_UNDERFLOW): Likewise.
17615         (FE_OVERFLOW): Likewise.
17616         (FE_INVALID): Likewise.
17617         (FE_INVALID_SNAN): Likewise.
17618         (FE_INVALID_ISI): Likewise.
17619         (FE_INVALID_IDI): Likewise.
17620         (FE_INVALID_ZDZ): Likewise.
17621         (FE_INVALID_IMZ): Likewise.
17622         (FE_INVALID_COMPARE): Likewise.
17623         (FE_INVALID_SOFTWARE): Likewise.
17624         (FE_INVALID_SQRT): Likewise.
17625         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17626         (FE_TONEAREST): Likewise.
17627         (FE_TOWARDZERO): Likewise.
17628         (FE_UPWARD): Likewise.
17629         (FE_DOWNWARD): Likewise.
17630         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17631         (FE_DIVBYZERO): Likewise.
17632         (FE_OVERFLOW): Likewise.
17633         (FE_UNDERFLOW): Likewise.
17634         (FE_INEXACT): Likewise.
17635         (FE_TONEAREST): Likewise.
17636         (FE_DOWNWARD): Likewise.
17637         (FE_UPWARD): Likewise.
17638         (FE_TOWARDZERO): Likewise.
17639         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17640         (FE_UNDERFLOW): Likewise.
17641         (FE_OVERFLOW): Likewise.
17642         (FE_DIVBYZERO): Likewise.
17643         (FE_INVALID): Likewise.
17644         (FE_TONEAREST): Likewise.
17645         (FE_TOWARDZERO): Likewise.
17646         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17647         (FE_OVERFLOW): Likewise.
17648         (FE_UNDERFLOW): Likewise.
17649         (FE_DIVBYZERO): Likewise.
17650         (FE_INEXACT): Likewise.
17651         (FE_TONEAREST): Likewise.
17652         (FE_TOWARDZERO): Likewise.
17653         (FE_UPWARD): Likewise.
17654         (FE_DOWNWARD): Likewise.
17655         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17656         (FE_DIVBYZERO): Likewise.
17657         (FE_OVERFLOW): Likewise.
17658         (FE_UNDERFLOW): Likewise.
17659         (FE_INEXACT): Likewise.
17660         (FE_TONEAREST): Likewise.
17661         (FE_DOWNWARD): Likewise.
17662         (FE_UPWARD): Likewise.
17663         (FE_TOWARDZERO): Likewise.
17665 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17667         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17669 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17671         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17672         commands.  Quote $PWD.
17673         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17674         -x" by "export".
17675         (remove_newlines): Remove.
17677 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17679         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17680         * stdlib/stdlib.h (atof): Moved to ...
17681         * include/bits/stdlib-float.h: Here.  New file.
17682         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17683         * stdlib/bits/stdlib-float.h: New file.
17684         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17685         -mno-sse -mno-mmx.
17686         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17687         <xmmintrin.h>.
17689 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17691         * conform/conformtest.pl (@headers): Add fenv.h.
17692         * conform/data/fenv.h-data: New file.
17693         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17694         include of <math/fenv.h>.
17696         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17697         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17698         && !UNIX98].  Enables tests for XOPEN2K8.
17699         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17700         POSIX2008]: Likewise.
17702         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17703         (struct rusage): Do not expect type or its members.
17705         [BZ #3439]
17706         * math/math.h (FP_NAN): Define macro to integer constant usable in
17707         #if and use that to give value to enum constant.
17708         (FP_INFINITE): Likewise.
17709         (FP_ZERO): Likewise.
17710         (FP_SUBNORMAL): Likewise.
17711         (FP_NORMAL): Likewise.
17713 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17715         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17716         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17717         arguments.
17719 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17721         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17722         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17723         autoconf-time if not.
17724         * configure.in: Remove AC_PREREQ.
17726 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17728         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17729         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17730         of the internal implementation.
17732 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17734         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17735         except include of <misc/sys/syslog.h>.
17737 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17740         function returns with a NULL context exit with zero.
17742 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17744         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17746 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17748         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17749         (run_program_cmd): This.
17750         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17751         (tst_langinfo): New variable.  Use it.
17753 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17755         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17756         floating point opcodes.
17758 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17760         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17761         variable.
17763         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17765         * sysdeps/mach/hurd/powerpc: Remove directory.
17766         * sysdeps/mach/powerpc: Likewise.
17768 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17770         * scripts/check-local-headers.sh: Ignore c++ headers.
17772 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17774         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17775         __libc_cleanup_region_start argument.
17777 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17779         [BZ #14784]
17780         [BZ #14785]
17781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17782         x * y using scaling, not as x * y + z.
17783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17785         * math/libm-test.inc (fma_test): Add more tests.
17786         (fma_test_towardzero): Likewise.
17787         (fma_test_downward): Likewise.
17788         (fma_test_upward): Likewise.
17790 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17792         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17794 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17796         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17797         New variable.
17799 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17801         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17803 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17806         Fix sort order.
17807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17808         Likewise.
17810 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17813         Fix the order of the list for glibc 2.17.
17814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17815         Likewise.
17817 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17821 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17823         [BZ #14610]
17824         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17825         for low part of x being zero before using __atanl (y).
17826         * math/libm-test.inc (atan2_test): Add another test.
17828         * manual/install.texi (Configuring and compiling): Document
17829         general use of test-wrapper and test-wrapper-env.
17830         * INSTALL: Regenerated.
17832         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17833         (__fma): Do not extract and scale down low bits on after-rounding
17834         systems when result rounded to normal precision would have normal
17835         exponent.
17836         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17837         (__fmal): Do not extract and scale down low bits on after-rounding
17838         systems when result rounded to normal precision would have normal
17839         exponent.
17840         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17841         (__fmal): Do not extract and scale down low bits on after-rounding
17842         systems when result rounded to normal precision would have normal
17843         exponent.
17844         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17845         macro.
17846         (fma_test): Add more tests.
17847         (fma_test_towardzero): Likewise.
17848         (fma_test_downward): Likewise.
17849         (fma_test_upward): Likewise.
17851 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17853         * sysdeps/i386/tininess.h: Renamed to ...
17854         * sysdeps/x86/tininess.h: This.
17855         * sysdeps/x86_64/tininess.h: Removed.
17857 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17859         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17860         input.  Use $(build-program-cmd).
17861         ($(objpfx)tst-array1-static.out): Likewise.
17862         ($(objpfx)tst-array2.out): Likewise.
17863         ($(objpfx)tst-array3.out): Likewise.
17864         ($(objpfx)tst-array4.out): Likewise.
17865         ($(objpfx)tst-array5.out): Likewise.
17866         ($(objpfx)tst-array5-static.out): Likewise.
17868 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17870         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17871         if defined.
17873         * nss/nsswitch.h (nss_interface_function): Provide new
17874         macro for use with NSS functions.
17875         * grp/initgroups.c: Use new macro.
17876         * nss/getXXbyYY.c: Likewise.
17877         * nss/getXXbyYY_r.c: Likewise.
17878         * nss/getXXent.c: Likewise.
17879         * nss/getXXent_r.c: Likewise.
17880         * sysdeps/posix/getaddrinfo.c: Likewise.
17882 2012-10-30  Andreas Jaeger  <aj@suse.de>
17884         * po/ru.po: Update Russion translation from translation project.
17886 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17888         [BZ #14152]
17889         [BZ #14783]
17890         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17891         result and shift together with sticky bit instead of replicating
17892         round-to-nearest rounding.
17893         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17894         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17895         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17896         missing underflow exceptions.
17897         (fma_test_towardzero): Add more tests.
17898         (fma_test_downward): Likewise.
17899         (fma_test_upward): Likewise.
17901         [BZ #14047]
17902         * sysdeps/generic/tininess.h: New file.
17903         * sysdeps/i386/tininess.h: Likewise.
17904         * sysdeps/sh/tininess.h: Likewise.
17905         * sysdeps/x86_64/tininess.h: Likewise.
17906         * stdlib/tst-strtod-underflow.c: Likewise.
17907         * stdlib/tst-tininess.c: Likewise.
17908         * stdlib/strtod_l.c: Include <tininess.h>.
17909         (round_and_return): Do not set errno for exact underflow cases.
17910         Force an underflow exception when setting errno for underflow.
17911         Determine underflow based on rounding to normal precision if
17912         TININESS_AFTER_ROUNDING.
17913         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17914         ERANGE for exact underflow cases.
17915         * stdlib/Makefile (tests): Add tst-tininess and
17916         tst-strtod-underflow.
17917         ($(objpfx)tst-tininess): Use $(link-libm).
17918         ($(objpfx)tst-strtod-underflow): Likewise.
17920 2012-10-30  Andreas Jaeger  <aj@suse.de>
17922         [BZ#14767]
17923         * elf/Makefile (tests): Remove conditional for have-initfini-array
17924         since this is now always required and the variable does not exist
17925         anymore.
17926         (tests-static): Likewise.
17927         (modules-names): Likewise.
17929         * po/eo.po: Add Esperanto translation from translation project.
17931         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17932         merged with constructor/destructor.
17933         (init_array): Likewise.
17934         * elf/tst-array2dep.c (fini_array): Likewise.
17935         (init_array): Likewise.
17937 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17939         * manual/message.texi: Delete @cartouche tags.
17941 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17943         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17944         EOPNOTSUPP.
17945         * sysdeps/mach/hurd/fsync.c: Likewise.
17947         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17948         [_POSIX_REALTIME_SIGNALS]: Change condition to
17949         [_POSIX_REALTIME_SIGNALS > 0].
17951 2012-10-27  Andreas Jaeger  <aj@suse.de>
17953         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17954         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17956         [__WORDSIZE != 64]: Likewise.
17958 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17960         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17961         *  iconvdata/tst-tables.sh: Likewise.
17963 2012-10-25  David S. Miller  <davem@davemloft.net>
17965         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17966         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17967         of strtoull.
17969         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17970         ifunc-impl-list.c
17971         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17972         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17973         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17974         file.
17976 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17978         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17979         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17980         __getdirentries.
17982 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17983             Jim Blandy  <jimb@codesourcery.com>
17985         * scripts/cross-test-ssh.sh: New file.
17986         * manual/install.texi (Configuring and compiling): Document use of
17987         cross-test-ssh.sh.
17988         * INSTALL: Regenerated.
17990 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17992         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17993         EOPNOTSUPP.
17995 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17997         * Makeconfig (run-program-prefix): Fix comment.
17999 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18000             Jim Blandy  <jimb@codesourcery.com>
18002         * Makeconfig (test-wrapper): New variable,
18003         (test-wrapper-env): Likewise.
18004         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18005         (run-built-tests): Define to yes.
18006         (run-program-prefix): Use $(test-wrapper).
18007         (built-program-cmd): Likewise.
18008         * Rules (make-test-out): Use $(test-wrapper-env) and
18009         $(host-built-program-cmd).
18010         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18011         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18012         tst-pathopt.sh.
18013         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18014         $(test-wrapper-env) to tst-rtld-load-self.sh.
18015         ($(objpfx)order2.out): Use $(test-wrapper).
18016         ($(objpfx)tst-initorder.out): Likewise.
18017         ($(objpfx)tst-initorder2.out): Likewise.
18018         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18019         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18020         (test_wrapper_env): New variable.  Use it to run ld.so.
18021         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18022         Use it to run ld.so.
18023         (test_wrapper_env): Likewise.
18024         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18025         $(test-wrapper) to run-iconv-test.sh.
18026         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18027         (ICONV): Use $test_wrapper.
18028         * posix/Makefile ($(objpfx)globtest.out): Pass
18029         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18030         globtest.sh, not $(run-program-prefix).
18031         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18032         (test_wrapper): Likewise.
18033         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18034         set together with run_via_rtld_prefix.
18035         (run_program_prefix): Define in terms of test_wrapper and
18036         run_via_rtld_prefix.
18038 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18040         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18041         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18042         Targets removed.
18044         [BZ #14743]
18045         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18046         Declare __clock_getres, __clock_gettime, __clock_settime,
18047         __clock_nanosleep, and __clock_getcpuclockid.
18048         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18049         Remove librt_hidden_def (clock_gettime).
18050         * sysdeps/unix/clock_gettime.c: Likewise.
18051         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18052         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18053         * rt/clock_getres.c: Define __clock_getres as an alias.
18054         * sysdeps/posix/clock_getres.c: Likewise.
18055         * rt/clock_settime.c: Define __clock_settime as an alias.
18056         * sysdeps/unix/clock_settime.c: Likewise.
18057         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18058         * sysdeps/unix/clock_nanosleep.c: Likewise.
18059         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18060         * rt/clock-compat.c: New file.
18061         * rt/Makefile (librt-routines): Add clock-compat and move
18062         $(clock-routines) to ...
18063         (routines): ... here, new variable.
18064         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18065         Don't add get_clockfreq here.
18066         * rt/Versions (libc: GLIBC_2.17): New version set.
18067         Add clock_* symbols here.
18068         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18069         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18070         (GLIBC_2.17): Add clock_* symbols.
18071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18073         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18075         Likewise.
18076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18077         Likewise.
18078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18082         * NEWS: Mention the move.
18084         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18085         Use __open, __read, __close rather than their public counterparts.
18086         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18087         (__get_clockfreq_via_cpuinfo): Likewise.
18088         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18089         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18091         * config.h.in (HAVE_IFUNC): New #undef.
18092         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18093         was successful.
18094         * configure: Regenerated.
18096 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18098         * configure.in: Move READELF check to start of file.
18099         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18100         libc_cv_asm_gnu_indirect_function in the process.
18101         * configure: Regenerated.
18103 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18105         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18106         send the output to /dev/null.
18107         (libc_cv_cc_with_libunwind): Likewise.
18108         (libc_cv_as_noexecstack): Likewise.
18109         * configure: Regenerate.
18111 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18113         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18115         * posix/globtest.sh (TMPDIR): Do not set.
18116         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18117         (testout): Likewise.
18119 2012-10-24  Andreas Jaeger  <aj@suse.de>
18121         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18122         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18123         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18124         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18125         posix_fadvise64, posix_fallocate64.
18127         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18128         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18129         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18130         Likewise.
18131         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18132         Likewise.
18133         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18135         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18136         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18137         <bits/fcntl-linux.h>.
18138         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18141         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18142         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18143         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18144         [__WORDSIZE != 64]: Likewise.
18146 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18148         * Makeconfig (run-built-tests): New variable.
18149         * Rules [$(cross-compiling) = yes]: Change condition to
18150         [$(run-built-tests) = no].
18151         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18152         to [$(run-built-tests) = yes].
18153         * elf/Makefile [$(cross-compiling) = no]: Likewise
18154         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18155         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18156         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18157         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18158         * io/Makefile [$(cross-compiling) = no]: Likewise.
18159         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18160         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18161         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18162         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18163         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18164         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18165         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18166         * string/Makefile [$(cross-compiling) = no]: Likewise.
18168         * posix/Makefile ($(objpfx)globtest.out): Pass
18169         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18170         $(rtld-installed-name).
18171         * posix/globtest.sh (elf_objpfx): Remove variable.
18172         (rtld_installed_name): Likewise.
18173         (library_path): Likewise.
18174         (run_program_prefix): New variable.  Use for running globtest
18175         binary.
18177 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18178             Joseph Myers  <joseph@codesourcery.com>
18180         * Makeconfig (host-built-program-cmd): New variable.
18181         * elf/Makefile (tst-stackguard1-ARGS): Use
18182         $(host-built-program-cmd).
18183         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18184         (tst-spawn-ARGS): Likewise.
18185         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18187 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18188             Jim Blandy  <jimb@codesourcery.com>
18190         * Makeconfig (run-via-rtld-prefix): New variable.
18191         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18192         (built-program-cmd): Likewise.
18194 2012-10-22  Andreas Jaeger  <aj@suse.de>
18196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18197         __O_RSYNC if it exists, otherwise to O_SYNC.
18199 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18200             Joseph Myers  <joseph@codesourcery.com>
18202         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18203         /dev/null.
18204         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18205         from /dev/null
18206         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18207         /dev/null.
18209 2012-10-22  Andreas Jaeger  <aj@suse.de>
18211         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18212         Define always.
18213         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18216         bits/fcntl-linux.h.
18218         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18219         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18221         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18222         to __O_LARGEFILE.
18223         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18224         to __O_LARGEFILE.
18226 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18227             Joseph Myers  <joseph@codesourcery.com>
18229         * config.make.in (NM): New variable.
18231 2012-10-21  Andreas Jaeger  <aj@suse.de>
18233         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18234         definitions and declarations that are provided by
18235         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18237 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18239         [BZ #14683]
18240         * elf/Makefile (tests-static): Add tst-leaks1-static.
18241         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18242         ($(objpfx)tst-leaks1-static): New rule.
18243         ($(objpfx)tst-leaks1-static-mem): Likewise.
18244         (tst-leaks1-static-ENV): New macro.
18245         * elf/dl-open.c (dl_open_worker): Check the main application
18246         only if SHARED is defined.
18247         * elf/tst-leaks1-static.c: New file.
18249 2012-10-20  Andreas Jaeger  <aj@suse.de>
18251         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18252         generic values for Linux.
18253         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18254         and declarations that are provided by <bits/fcntl-linux.h> and
18255         include <bits/fcntl-linux.h>.
18256         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18257         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18259 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18261         * io/fcntl.h: Move include of <bits/types.h> to the top and
18262         include it unconditionally.
18264 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18266         * wcsmbs/Makefile (tests-ifunc): New variable.
18267         (tests): Add $(tests-ifunc).
18268         * wcsmbs/test-wcschr-ifunc.c: New file.
18269         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18270         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18271         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18272         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18273         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18275         * string/Makefile (tests-ifunc): New variable.
18276         (tests): Add $(tests-ifunc).
18277         * string/test-memccpy.c (TEST_NAME): New macro.
18278         * string/test-memchr.c (TEST_NAME): Likewise.
18279         * string/test-memcmp.c (TEST_NAME): Likewise.
18280         * string/test-memcpy.c (TEST_NAME): Likewise.
18281         * string/test-memmem.c (TEST_NAME): Likewise.
18282         * string/test-memmove.c (TEST_NAME): Likewise.
18283         * string/test-memset.c (TEST_NAME): Likewise.
18284         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18285         * string/test-stpcpy.c (TEST_NAME): Likewise.
18286         * string/test-stpncpy.c (TEST_NAME): Likewise.
18287         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18288         * string/test-strcasestr.c (TEST_NAME): Likewise.
18289         * string/test-strcat.c (TEST_NAME): Likewise.
18290         * string/test-strchr.c (TEST_NAME): Likewise.
18291         * string/test-strcmp.c(TEST_NAME): Likewise.
18292         * string/test-strcpy.c (TEST_NAME): Likewise.
18293         * string/test-strcspn.c (TEST_NAME): Likewise.
18294         * string/test-strlen.c (TEST_NAME): Likewise.
18295         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18296         * string/test-strncmp.c (TEST_NAME): Likewise.
18297         * string/test-strncpy.c (TEST_NAME): Likewise.
18298         * string/test-strnlen.c (TEST_NAME): Likewise.
18299         * string/test-strpbrk.c (TEST_NAME): Likewise.
18300         * string/test-strrchr.c (TEST_NAME): Likewise.
18301         * string/test-strspn.c (TEST_NAME): Likewise.
18302         * string/test-strstr.c (TEST_NAME): Likewise.
18303         * string/test-bcopy-ifunc.c: New file.
18304         * string/test-bzero-ifunc.c: Likewise.
18305         * string/test-memccpy-ifunc.c: Likewise.
18306         * string/test-memchr-ifunc.c: Likewise.
18307         * string/test-memcmp-ifunc.c: Likewise.
18308         * string/test-memcpy-ifunc.c: Likewise.
18309         * string/test-memmem-ifunc.c: Likewise.
18310         * string/test-memmove-ifunc.c: Likewise.
18311         * string/test-mempcpy-ifunc.c: Likewise.
18312         * string/test-memset-ifunc.c: Likewise.
18313         * string/test-rawmemchr-ifunc.c: Likewise.
18314         * string/test-stpcpy-ifunc.c: Likewise.
18315         * string/test-stpncpy-ifunc.c: Likewise.
18316         * string/test-strcasecmp-ifunc.c: Likewise.
18317         * string/test-strcasestr-ifunc.c: Likewise.
18318         * string/test-strcat-ifunc.c: Likewise.
18319         * string/test-strchr-ifunc.c: Likewise.
18320         * string/test-strchrnul-ifunc.c: Likewise.
18321         * string/test-strcmp-ifunc.c: Likewise.
18322         * string/test-strcpy-ifunc.c: Likewise.
18323         * string/test-strcspn-ifunc.c: Likewise.
18324         * string/test-strlen-ifunc.c: Likewise.
18325         * string/test-strncasecmp-ifunc.c: Likewise.
18326         * string/test-strncat-ifunc.c: Likewise.
18327         * string/test-strncmp-ifunc.c: Likewise.
18328         * string/test-strncpy-ifunc.c: Likewise.
18329         * string/test-strnlen-ifunc.c: Likewise.
18330         * string/test-strpbrk-ifunc.c: Likewise.
18331         * string/test-strrchr-ifunc.c: Likewise.
18332         * string/test-strspn-ifunc.c: Likewise.
18333         * string/test-strstr-ifunc.c: Likewise.
18335         * debug/Makefile (tests-ifunc): New variable.
18336         (tests): Add $(tests-ifunc).
18337         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18338         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18339         * debug/test-stpcpy_chk-ifunc.c: New file.
18340         * debug/test-strcpy_chk-ifunc.c: Likewise.
18342 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18344         [BZ #13601]
18345         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18346         header is not read in.
18348 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18350         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18351         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18352         directly.  Pass built executable to script as
18353         $(built-program-cmd).
18354         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18355         $testprogram without using LD_LIBRARY_PATH and $ldso.
18357         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18358         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18359         $(rtld-installed-name).
18360         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18361         (rtld_installed_name): Likewise.
18362         (library_path): Likewise.
18363         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18364         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18365         $(run-program-prefix) to tst-tables.sh.
18366         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18367         it to run tst-table-from and tst-table-to.
18368         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18369         Pass it to tst-table.sh.
18370         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18371         $(run-program-prefix) to tst-gettext.sh.
18372         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18373         tst-translit.sh.
18374         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18375         tst-gettext2.sh.
18376         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18377         to run tst-gettext.
18378         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18379         to run tst-gettext2.
18380         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18381         to run tst-translit.
18382         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18383         $(run-program-prefix) to tst-mtrace.sh.
18384         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18385         to run tst-mtrace.
18386         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18387         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18388         $(rtld-installed-name).
18389         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18390         (rtld_installed_name): Likewise.
18391         (run_program_prefix): New variable.  Use it to run wordexp-test.
18393         * Makeconfig (ARCH): Remove all definitions.
18394         (machine): Likewise.
18395         [ARCH]: Remove conditional code.
18396         [!objdir]: Give error.
18397         [!objdir] (objpfx): Remove.
18398         [!objdir] (common-objpfx): Likewise.
18399         [!objdir] (common-objdir): Likewise.
18400         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18401         AC_CONFIG_FILES call.
18402         * configure: Regenerated.
18404         [BZ #13888]
18405         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18406         or TMPDIR.
18407         (testout): Likewise.
18409         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18410         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18411         $(rtld-installed-name).
18412         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18413         (rtld_installed_name): Likwise.
18414         (runit): Remove function.
18415         (run_getconf): New variable,  Use it for running getconf binary.
18417 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18419         [BZ #14716]
18420         * string/test-memmem.c (check_result): New function.
18421         (do_one_test): Use it.
18422         (check1): New function.
18423         (test_main): Use it.
18425 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18427         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18429 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18431         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18432         (_G_LSEEK64): Likewise.
18433         (_G_MMAP64): Likewise.
18434         (_G_FSTAT64): Likewise.
18435         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18436         (_G_LSEEK64): Likewise.
18437         (_G_MMAP64): Likewise.
18438         (_G_FSTAT64): Likewise.
18439         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18440         unconditional.  Call __mmap64 directly.
18441         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18442         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18443         __lseek64 directly.
18444         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18445         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18446         __mmap64 directly.
18447         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18448         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18449         __lseek64 directly.
18450         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18451         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18452         __lseek64 directly.
18453         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18454         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18455         __lseek64 directly.
18456         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18457         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18458         __fxstat64 directly.
18459         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18460         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18461         unconditional.
18462         (freopen64) [!_G_OPEN64]: Remove conditional code.
18463         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18464         unconditional.
18465         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18466         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18467         unconditional.
18468         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18469         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18470         unconditional.
18471         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18472         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18473         unconditional.
18474         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18475         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18476         unconditional.
18477         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18478         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18479         unconditional.
18480         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18481         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18482         unconditional.
18483         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18485 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18487         [BZ #12140]
18488         * manual/memory.texi (Malloc Tunable Parameters): Add note
18489         about free list pointers overwriting some perturb bytes.
18490         Wording suggested by Roland McGrath.
18492 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18494         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18495         (lgamma_test): Likewise.
18496         (tgamma_test): Likewise.
18498 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18500         [BZ #14700]
18501         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18502         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18504 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18506         * NEWS: Mention BZ #14716.
18507         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18508         when removing AVAILABLE1_USES_J macro.
18510 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18512         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18513         (__bswap_64): __uint64_t for unsigned 64-bit int.
18515 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18517         * include/string.h (memmem): Declare libc hidden alias.
18518         * string/memmem.c (memmem): Define libc hidden alias.
18519         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18520         __read, __close instead of open, read, close.
18522 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18525         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18526         global and hidden.
18527         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18528         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18529         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18530         Likewise.
18531         (__rawmemchr_sse2): Likewise.
18532         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18533         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18534         (__strchr_sse2): Likewise.
18535         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18536         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18537         (__strcasecmp_sse2): Likewise.
18538         (__strncasecmp_sse2): Likewise.
18539         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18540         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18541         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18542         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18543         (__strrchr_sse2): Likewise.
18544         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18545         ifunc-impl-list.c.
18546         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18547         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18548         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18549         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18550         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18551         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18552         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18553         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18554         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18555         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18556         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18557         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18558         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18559         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18560         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18561         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18562         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18563         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18564         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18565         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18566         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18567         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18568         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18569         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18570         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18571         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18572         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18573         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18574         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18575         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18577         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18578         global and hidden.
18579         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18580         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18581         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18582         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18583         Likewise.
18584         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18585         Likewise.
18586         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18587         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18588         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18589         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18590         ifunc-impl-list.c.
18591         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18592         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18593         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18594         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18595         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18596         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18597         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18598         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18599         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18600         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18601         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18602         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18603         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18604         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18605         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18606         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18607         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18608         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18609         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18610         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18611         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18612         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18613         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18614         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18615         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18616         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18617         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18618         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18619         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18620         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18621         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18622         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18623         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18624         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18625         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18626         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18627         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18628         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18629         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18630         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18631         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18633         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18634         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18635         * include/ifunc-impl-list.h: New file.
18636         * misc/ifunc-impl-list.c: Likewise.
18637         * misc/Makefile (routines): Add ifunc-impl-list.
18638         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18639         * string/test-string.h: Include <ifunc-impl-list.h>.
18640         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18641         impl_array): New variables.
18642         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18643         are defined.
18644         (test_init): Call __libc_ifunc_impl_list to initialize
18645         func_list if TEST_IFUNC and TEST_NAME are defined.
18647         * string/Makefile (strop-tests): Add bcopy and bzero.
18648         * string/test-bcopy.c: New file.
18649         * string/test-bzero.c: Likewise.
18650         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18651         defined.
18652         * string/test-memset.c: Support bzero test if TEST_BZERO is
18653         defined.
18654         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18655         __libc_memmove.
18656         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18657         __libc_memset.
18658         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18659         of memset.
18661 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18663         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18664         * configure: Regenerated.
18666         * Makeconfig (+link-static-before-libc): Don't include
18667         $(link-static-libc).
18669         * libio/libio.h (_IO_pos_t): Remove.
18671 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18673         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18674         McGrath.
18676 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18678         * crypt/crypt-entry.c: Include fips-private.h.
18679         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18680         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18681         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18682         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18684 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18686         * crypt/crypt-private.h: Include stdbool.h.
18687         (_ufc_setup_salt_r): Return bool.
18688         * crypt/crypt-entry.c: Include errno.h.
18689         (__crypt_r): Return NULL with EINVAL for bad salt.
18690         * crypt/crypt_util.c (bad_for_salt): New.
18691         (_ufc_setup_salt_r): Check that salt is long enough and within
18692         the specified alphabet.
18693         * crypt/badsalttest.c: New file.
18694         * crypt/Makefile (tests): Add it.
18695         ($(objpfx)badsalttest): New.
18697 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18699         * NEWS: Add entry for BZ #14602.
18701 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18703         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18704         type-generic.
18705         * math/libm-test.inc: Update comment listing what functions and
18706         macros are tested.
18707         (isgreater_test): New function.
18708         (isgreaterequal_test): Likewise.
18709         (isless_test): Likewise.
18710         (islessequal_test): Likewise.
18711         (islessgreater_test): Likewise.
18712         (isunordered_test): Likewise.
18713         (main): Call the new functions.
18715 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18717         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18718         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18719         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18720         * sysdeps/i386/configure: Regenerated.
18721         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18722         * sysdeps/mach/configure: Regenerated.
18723         * sysdeps/mach/hurd/configure: Regenerated.
18724         * sysdeps/powerpc/configure: Regenerated.
18725         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18726         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18727         * sysdeps/s390/s390-32/configure: Regenerated.
18728         * sysdeps/s390/s390-64/configure: Regenerated.
18729         * sysdeps/sh/configure: Regenerated.
18730         * sysdeps/sparc/configure: Regenerated.
18731         * sysdeps/unix/sysv/linux/configure: Regenerated.
18732         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18733         * sysdeps/x86_64/configure: Regenerated.
18735         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18736         defined.  Don't check if MAP is NULL.
18738 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18740         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18741         (_G_stat64): Likewise.
18742         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18743         (_G_stat64): Likewise.
18744         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18745         instead of struct _G_stat64.
18746         * libio/fileops.c (mmap_remap_check): Likewise.
18747         (decide_maybe_mmap): Likewise.
18748         (_IO_new_file_seekoff): Likewise.
18749         (_IO_file_stat): Likewise.
18750         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18751         _G_off64_t.
18752         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18753         instead of struct _G_stat64.
18754         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18756 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18758         [BZ #14602]
18759         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18760         Replace with ...
18761         (CHECK_EOL): New macro.
18762         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18763         CHECK_EOL.
18764         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18765         Replace with CHECK_EOL.
18766         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18767         Replace with CHECK_EOL.
18769 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18771         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18772         type-generic.
18773         * math/libm-test.inc: Update comment listing what functions and
18774         macros are tested.
18775         (finite_test): New function.
18776         (isinf_test): Likewise.
18777         (isnan_test): Likewise.
18778         (fpclassify_test): Test subnormal input.
18779         (isfinite_test): Likewise.
18780         (isnormal_test): Likewise.
18781         (main): Call the new functions.
18783 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18785         [BZ #14660]
18786         * Makerules (%.dynsym): Force C locale when running
18787         $(OBJDUMP) --dynamic-syms.
18789 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18791         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18792         <stdint.h>.
18794 2012-10-06  David S. Miller  <davem@davemloft.net>
18796         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18797         upper 32-bits of the length value in %o2 since we use branch-on-register
18798         tests which consider the entire 64-bit register.
18800 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18802         * string/test-strstr.c (check2): Add a test for page boundary.
18804 2012-10-05  David S. Miller  <davem@davemloft.net>
18806         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18807         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18808         file.
18809         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18810         sysdep_routines.
18811         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18812         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18813         and bzero when HWCAP_SPARC_CRYPTO is present.
18815 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18817         [BZ #14602]
18818         * string/test-strstr.c (check2): New function.
18819         (test_main): Call check2.
18821         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18822         and bug-strchr1.
18823         * string/bug-strcasestr1.c (do_test): Moved to ...
18824         * string/test-strcasestr.c (check1): Here.  New function.
18825         (do_one_test): Break out result checking code into ...
18826         (check_result): This.  New function.
18827         (do_one_test): Call check_result.
18828         (test_main): Call check1.
18829         * string/bug-strchr1.c (do_test): Moved to ...
18830         * string/test-strchr.c (check1): Here.  New function.
18831         (do_one_test): Break out result checking code into ...
18832         (check_result): This.  New function.
18833         (do_one_test): Call check_result.
18834         (test_main): Call check1.
18835         * string/bug-strstr1.c (main): Moved to ...
18836         * string/test-strstr.c (check1): Here.  New function.
18837         (do_one_test): Break out result checking code into ...
18838         (check_result): This.  New function.
18839         (do_one_test): Call check_result.
18840         (test_main): Call check1.
18841         * string/bug-strcasestr1.c: Removed.
18842         * string/bug-strchr1.c: Likewise.
18843         * string/bug-strstr1.c: Likewise.
18845         * elf/Makefile (dl-routines): Add hwcaps.
18846         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18847         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18848         (_dl_important_hwcaps): Moved to ...
18849         * elf/dl-hwcaps.c: Here.  New file.
18850         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18852         [BZ #14557]
18853         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18854         if IS_IN_rtld isn't defined.
18856         * elf/dl-support.c (_dl_sysinfo_map): New.
18857         Include "get-dynamic-info.h" and "setup-vdso.h".
18858         (_dl_non_dynamic_init): Call setup_vdso.
18859         * elf/dynamic-link.h: Don't include <assert.h>.
18860         (elf_get_dynamic_info): Moved to ...
18861         * elf/get-dynamic-info.h: Here.  New file.
18862         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18863         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18864         * elf/setup-vdso.h: Here.  New file.
18865         * elf/rtld.c: Include "setup-vdso.h".
18866         (dl_main): Call setup_vdso.
18868 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18870         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18871         creal in comment listing functions tested.  List finite, isinf,
18872         isnan, isless, islessequal, isgreater, isgreaterequal,
18873         islessgreater, isunordered, lgamma_r and pow10 as functions and
18874         macros not tested.  Mention which functions not tested are aliases
18875         for other functions.  Fix typo.  Note that signs of NaNs are not
18876         tested.
18878         * scripts/config.guess: Update from config.git.
18879         * scripts/config.sub: Likewise.
18881 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18883         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18884         * misc/madvise.c (madvise): Renamed to __madvise.
18885         Make madvise a weak alias.
18886         * include/sys/mman.h: Declare __madvise.
18887         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18888         * sysdeps/unix/syscalls.list
18889         (madvise): Make __madvise the strong name, and madvise a weak alias.
18890         * sysdeps/unix/sysv/linux/syscalls.list
18891         (madvise, mmap): Remove redundant entries.
18892         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18893         * malloc/malloc.c (mtrim): Likewise.
18894         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18896 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18898         * sysdeps/mach/hurd/dl-cache.c: File removed.
18899         * config.h.in (USE_LDCONFIG): New #undef.
18900         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18901         * configure: Regenerated.
18902         * elf/Makefile (dl-routines): Add dl-cache only under
18903         [$(use-ldconfig) = yes].
18904         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18905         cache on [USE_LDCONFIG].
18906         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18907         [USE_LDCONFIG].
18908         * elf/rtld.c (dl_main): Likewise.
18910 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18912         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18913         _SC_LEVEL4_CACHE_LINESIZE.
18915 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18917         * sysdeps/unix/bsd/confstr.h: File removed.
18919 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18921         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18922         sys/sdt-config.h.
18924 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18926         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18927         Make 'mapoff' field ElfW(Off) rather than off_t.
18929 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18931         * nscd/Makefile: Remove nscd-cflags and all its users.
18932         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18933         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18935         [BZ #10631]
18936         * malloc.c (malloc_printerr): Clarify error message.
18938 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18940         [BZ #14648]
18941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18942         Set bit_FMA_Usable if FMA is supported.
18943         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18944         macro.
18945         (bit_FMA4_Usable): Updated.
18946         (index_FMA_Usable): New macro.
18947         (CPUID_FMA): Likewise
18948         (HAS_FMA): Defined with bit_FMA_Usable.
18950 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18952         * bits/types.h (__swblk_t): Type removed.
18953         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18954         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18955         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18956         (__SWBLK_T_TYPE): Likewise.
18957         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18958         (__SWBLK_T_TYPE): Likewise.
18959         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18960         (__SWBLK_T_TYPE): Likewise.
18961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18962         (__SWBLK_T_TYPE): Likewise.
18964 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18965             Honza Horak <hhorak@redhat.com>
18967         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18968         (xdr_mapname): Use YPMAXMAP as maxsize.
18969         (xdr_peername): Use YPMAXPEER as maxsize.
18970         (xdr_keydat): Use YPAXRECORD as maxsize.
18971         (xdr_valdat): Use YPMAXRECORD as maxsize.
18973 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18975         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18977         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18978         * csu/init-first.c: ... here.
18979         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18980         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18981         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18982         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18983         * sysdeps/i386/init-first.c: File removed.
18984         * sysdeps/sh/init-first.c: File removed.
18986 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18988         [BZ #14645]
18989         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18990         if x * y might underflow to zero and z is zero.
18991         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18992         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18993         * math/libm-test.inc (min_subnorm_value): New variable.
18994         (fma_test): Add more tests.
18995         (fma_test_towardzero): Likewise.
18996         (fma_test_downward): Likewise
18997         (fma_test_upward): Likewise.
18998         (initialize): Set min_subnorm_value.
19000 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19002         [BZ #14638]
19003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19004         0 + 0.
19005         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19006         mode for addition resulting in exact zero.
19007         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19009         exact 0 + 0.
19010         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19011         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19012         * math/libm-test.inc (fma_test): Add more tests.
19013         (fma_test_towardzero): New function.
19014         (fma_test_downward): Likewise.
19015         (fma_test_upward): Likewise.
19016         (main): Call the new functions.
19018 2012-09-28  David S. Miller  <davem@davemloft.net>
19020         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19022 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19024         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19025         instead of SIGALRM.
19027         * sysdeps/gnu/_G_config.h: Moved to ...
19028         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19029         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19030         * sysdeps/generic/_G_config.h: ... here.
19032         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19034         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19036         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19037         Conditionalize target on [libnss_test1.so-version].
19039         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19041         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19042         (elfobjdir): Move out of conditionals.
19044         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19045         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19046         (__nss_lookup_function): Conditionalize label remove_from_tree on
19047         [!DO_STATIC_NSS || SHARED], matching its only use.
19049 2012-09-28  David S. Miller  <davem@davemloft.net>
19051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19052         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19053         file.
19054         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19055         sysdep_routines.
19056         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19057         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19058         when HWCAP_SPARC_CRYPTO is present.
19060 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19062         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19064 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19066         [BZ #6530]
19067         * stdio-common/vfprintf.c (process_string_arg): Revert
19068         2000-07-22 change.
19070 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19072         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19073         for testcase.
19074         * stdio-common/tst-sprintf.c: Include <locale.h>
19075         (main): Test sprintf's handling of incomplete multibyte
19076         characters.
19078 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19080         * elf/dl-runtime.c (VERSYMIDX): Removed.
19081         * elf/dl-version.c (VERSYMIDX): Likewise.
19082         * elf/do-rel.h (VERSYMIDX): Likewise.
19083         (VALIDX): Likewise.
19084         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19085         * elf/rtld.c (VALIDX): Likewise.
19086         (ADDRIDX): Likewise.
19087         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19088         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19089         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19090         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19091         (VALIDX): Likewise.
19092         (ADDRIDX): Likewise.
19094 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19096         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19098 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19100         [BZ #11438]
19101         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19102         to global scope.
19103         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19104         addresses are in the same scope as 192.0.2/24.
19105         * posix/gai.conf: Document new scope table defaults.
19107 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19109         [BZ #5298]
19110         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19111         for ftell.  Compute offsets from write pointers instead.
19112         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19114 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19116         [BZ #14543]
19117         * libio/Makefile (tests): New test case tst-fseek.
19118         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19119         combination works in wide mode.
19120         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19121         state when the external buffer state changes.
19123 2012-09-27  David S. Miller  <davem@davemloft.net>
19125         [BZ #14376]
19126         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19127         pass reloc->r_addend in as the 'high' argument to
19128         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19132 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19134         * rt/tst-aio2.c: Include <pthread.h>.
19135         * rt/tst-aio3.c: Likewise.
19137 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19139         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19141 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19143         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19144         contents on [SHARED].
19146 2012-09-26  Marek Polacek  <polacek@redhat.com>
19148         [BZ #14530]
19149         [BZ #13741]
19150         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19151         for C++ and GCC <4.3 as well as for non GCC compilers.
19153 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19157 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19159         * Makefile.in (all, install): Declare with .PHONY.
19160         Reported by Michael Hope <michael.hope@linaro.org>.
19162 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19164         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19165         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19166         system header.
19167         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19168         Likewise.
19169         (sydep_routines): Add the new and the internal functions.
19170         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19171         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19173         (GLIBC_2.17): Add the new function.
19174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19175         (GLIBC_2.17): Likewise.
19176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19177         (GLIBC_2.17): Likewise.
19178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19179         (GLIBC_2.17): Likewise.
19180         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19182 2012-09-25  Alan Modra  <amodra@gmail.com>
19184         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19185         Add release barrier before setting once_control to say
19186         initialisation is done.  Add hints on lwarx.  Use macro in
19187         place of isync.
19188         (clear_once_control): Add release barrier.
19190 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19192         [BZ #13629]
19193         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19194         specially.
19195         * math/s_clog10.c (__clog10): Likewise.
19196         * math/s_clog10f.c (__clog10f): Likewise.
19197         * math/s_clog10l.c (__clog10l): Likewise.
19198         * math/s_clogf.c (__clogf): Likewise.
19199         * math/s_clogl.c (__clogl): Likewise.
19200         * math/Makefile (libm-calls): Add x2y2m1.
19201         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19202         (__x2y2m1): Likewise.
19203         (__x2y2m1l): Likewise.
19204         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19205         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19206         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19207         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19208         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19209         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19210         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19211         * sysdeps/i386/fpu/libm-test-ulps: Update.
19212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19214         [BZ #14621]
19215         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19216         int as type of variable DEPTH.
19217         (glob): Use size_t instead of int as type of variables NEWCOUNT
19218         and OLD_PATHC.
19220 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19222         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19223         Add s_sincosf-sse2.
19224         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19225         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19226         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19227         macros for using routine as __sincosf_ia32.
19228         Use macro for function declaration and weak_alias.
19229         * sysdeps/i386/fpu/libm-test-ulps: Update.
19231         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19234         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19235         subnormal argument.
19236         * math/s_cexpf.c (__cexpf): Likewise.
19237         * math/s_csinf.c (__csinf): Likewise.
19238         * math/s_csinhf.c (__csinhf): Likewise.
19239         * math/s_ctanf.c (__ctanf): Likewise.
19240         * math/s_ctanhf.c (__ctanhf): Likewise.
19241         * math/s_ccosh.c (__ccoshf): Likewise.
19242         * math/s_cexp.c (__cexpl): Likewise.
19243         * math/s_csin.c (__csin): Likewise.
19244         * math/s_csinh.c (__csinh): Likewise.
19245         * math/s_ctan.c (__ctan): Likewise.
19246         * math/s_ctanh.c (ctanh): Likewise.
19247         * math/s_ccoshl.c (__ccoshl): Likewise.
19248         * math/s_cexpl.c (__cexpl): Likewise.
19249         * math/s_csinl.c (__csinl): Likewise.
19250         * math/s_csinhl.c (__csinhl): Likewise.
19251         * math/s_ctanl.c (__ctanl): Likewise.
19252         * math/s_ctanhl.c (__ctanhl): Likewise.
19254 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19256         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19257         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19258         (_IO_off_t): Define to __off_t, not _G_off_t.
19259         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19260         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19261         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19262         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19263         type of __dummy and __dummy2 fields.
19264         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19265         (_G_ssize_t): Likewise.
19266         (_G_off_t): Likewise.
19267         (_G_pid_t): Likewise.
19268         (_G_uid_t): Likewise.
19269         (_G_wchar_t): Likewise.
19270         (_G_wint_t): Likewise.
19271         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19272         (_G_ssize_t): Likewise.
19273         (_G_off_t): Likewise.
19274         (_G_pid_t): Likewise.
19275         (_G_uid_t): Likewise.
19276         (_G_wchar_t): Likewise.
19277         (_G_wint_t): Likewise.
19278         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19279         (_G_ssize_t): Likewise.
19280         (_G_off_t): Likewise.
19281         (_G_pid_t): Likewise.
19282         (_G_uid_t): Likewise.
19283         (_G_wchar_t): Likewise.
19284         (_G_wint_t): Likewise.
19286 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19288         * malloc/arena.c: Include malloc-sysdep.h.
19289         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19290         is sufficient to shrink the heap or an unmap is needed.
19291         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19292         new function check_may_shrink_heap.
19293         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19294         new function check_may_shrink_heap.
19296 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19298         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19299         comments.
19301 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19303         * catgets/test-gencat.sh: Add "set -e".
19304         * elf/tst-pathopt.sh: Likewise.
19305         * grp/tst_fgetgrent.sh: Likewise.
19306         * iconvdata/run-iconv-test.sh: Likewise.
19307         * intl/tst-gettext.sh: Likewise.
19308         * intl/tst-gettext2.sh: Likewise.
19309         * intl/tst-gettext4.sh: Likewise.
19310         * intl/tst-gettext6.sh: Likewise.
19311         * intl/tst-translit.sh: Likewise.
19312         * io/ftwtest-sh: Likewise.
19313         * libio/test-freopen.sh: Likewise.
19314         * malloc/tst-mtrace.sh: Likewise.
19315         * posix/globtest.sh: Likewise.
19316         * posix/tst-getconf.sh: Likewise.
19317         * posix/wordexp-tst.sh: Likewise.
19318         * stdio-common/tst-printf.sh: Likewise.
19319         * stdio-common/tst-unbputc.sh: Likewise.
19320         * stdlib/tst-fmtmsg.sh: Likewise.
19321         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19322         * catgets/Makefile: Do not specify -e option when running
19323         testsuite shell scripts.
19324         * elf/Makefile: Likewise.
19325         * grp/Makefile: Likewise.
19326         * iconvdata/Makefile: Likewise.
19327         * intl/Makefile: Likewise.
19328         * io/Makefile: Likewise.
19329         * libio/Makefile: Likewise.
19330         * malloc/Makefile: Likewise.
19331         * posix/Makefile: Likewise.
19332         * stdio-common/Makefile: Likewise.
19333         * stdlib/Makefile: Likewise.
19334         * sysdeps/x86_64/Makefile: Likewise.
19336         * io/ftwtest-sh: Add copyright header.
19337         * posix/globtest.sh: Likewise.
19338         * posix/tst-getconf.sh: Likewise.
19339         * posix/wordexp-tst.sh: Likewise.
19340         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19342 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19344         [BZ #13679]
19345         * Makeconfig (+link): Defined as $(+link-static) if
19346         $(build-shared) isn't yes.
19347         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19348         isn't yes.
19349         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19351         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19353         [BZ #14562]
19354         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19355         new chunk size with MALLOC_ALIGN_MASK.
19357 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19359         [BZ #5044]
19360         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19361         <rounding-mode.h>.
19362         (__printf_fphex): Determine rounding using get_rounding_mode and
19363         round_away.
19364         * stdio-common/tst-printf-round.c (struct hex_test): New
19365         structure.
19366         (hex_tests): New variable.
19367         (test_hex_in_one_mode): New function.
19368         (do_test): Also run tests for hex float output.
19370 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19372         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19373         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19374         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19375         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19376         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19377         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19378         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19379         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19381 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19383         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19384         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19385         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19386         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19388 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19390         [BZ #14579]
19391         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19392         mode only.
19393         * elf/tst-rtld-load-self.sh: New test.
19394         * elf/Makefile: Run it.
19396 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19398         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19399         (tst-writev-ENV): Remove.
19400         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19402 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19404         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19406 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19408         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19409         unconditional.
19410         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19411         Likewise.
19412         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19413         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19414         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19415         Likewise.
19417 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19419         [BZ #14587]
19420         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19421         * config.make.in (have-cpp-asm-debuginfo): Removed.
19422         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19423         * configure: Regenerated.
19425 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19427         [BZ #5044]
19428         * stdio-common/printf_fp.c: Include <stdbool.h> and
19429         <rounding-mode.h>.
19430         (___printf_fp): Determine rounding using get_rounding_mode and
19431         round_away.
19432         * stdio-common/tst-printf-round.c: New file.
19433         * stdio-common/Makefile (tests): Add tst-printf-round.
19434         (link-libm): New variable.
19435         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19437 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19439         [BZ #14576]
19440         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19441         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19442         Likewise.
19443         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19444         Likewise.
19446 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19448         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19449         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19450         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19451         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19453 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19455         [BZ #14518]
19456         * include/rounding-mode.h: New file.
19457         * sysdeps/generic/get-rounding-mode.h: Likewise.
19458         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19459         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19460         (MAX_VALUE): New macro.
19461         (MIN_VALUE): Likewise.
19462         (overflow_value): New function.
19463         (underflow_value): Likewise.
19464         (round_and_return): Use overflow_value and underflow_value to
19465         determine return values in overflow and underflow cases.  Use
19466         round_away to determine rounding depending on rounding mode.
19467         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19468         determine return values in overflow and underflow cases.
19469         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19470         (struct test_results): New structure.
19471         (struct test): Use struct test_results to store expected results
19472         for all rounding modes.
19473         (TEST): Include expected results for all rounding modes.
19474         (test_in_one_mode): New function.
19475         (do_test): Use test_in_one_mode to compute and check results.
19476         Check results for all rounding modes.
19477         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19478         $(link-libm).
19480 2012-12-09  Allan McRae  <allan@archlinux.org>
19482         * sysdeps/i386/fpu/libm-test-ulps: Update
19484 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19486         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19487         (_G_int32_t): Likewise.
19488         (_G_uint16_t): Likewise.
19489         (_G_uint32_t): Likewise.
19490         (_G_HAVE_BOOL): Likewise.
19491         (_G_HAVE_ATEXIT): Likewise.
19492         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19493         (_G_HAVE_IO_FILE_OPEN): Likewise.
19494         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19495         (_G_int32_t): Likewise.
19496         (_G_uint16_t): Likewise.
19497         (_G_uint32_t): Likewise.
19498         (_G_HAVE_BOOL): Likewise.
19499         (_G_HAVE_ATEXIT): Likewise.
19500         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19501         (_G_HAVE_IO_FILE_OPEN): Likewise.
19502         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19503         (_G_int32_t): Likewise.
19504         (_G_uint16_t): Likewise.
19505         (_G_uint32_t): Likewise.
19506         (_G_HAVE_BOOL): Likewise.
19507         (_G_HAVE_ATEXIT): Likewise.
19508         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19509         (_G_HAVE_IO_FILE_OPEN): Likewise.
19511 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19513         * csu/libc-tls.c: Update copyright years.
19515 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19517         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19518         [!_G_USING_THUNKS]: Remove conditional code.
19519         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19520         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19522         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19523         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19524         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19525         (_G_VTABLE_LABEL_PREFIX): Likewise.
19526         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19527         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19528         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19529         (_G_VTABLE_LABEL_PREFIX): Likewise.
19530         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19531         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19532         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19533         (_G_VTABLE_LABEL_PREFIX): Likewise.
19534         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19536 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19538         * libio/Makefile: Include ../Makeconfig before tests.
19539         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19540         only if $(build-shared) is yes.
19542         * iconv/gconv_db.c: Update copyright years.
19544 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19546         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19547         unwind info if defined PIC. Fix special cases description.
19548         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19550         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19551         DP_HI_MASK entry.
19552         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19554 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19556         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19558         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19559         is NULL.
19561         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19562         (LDLIBS-tst-chk4): This.
19563         (LDFLAGS-tst-chk5): Renamed to ...
19564         (LDLIBS-tst-chk5): This.
19565         (LDFLAGS-tst-chk6): Renamed to ...
19566         (LDLIBS-tst-chk6): This.
19567         (LDFLAGS-tst-lfschk4): Renamed to ...
19568         (LDLIBS-tst-lfschk4): This.
19569         (LDFLAGS-tst-lfschk5): Renamed to ...
19570         (LDLIBS-tst-lfschk5): This.
19571         (LDFLAGS-tst-lfschk6): Renamed to ...
19572         (LDLIBS-tst-lfschk6): This.
19574         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19575         on $(common-objpfx)soversions.mk.
19577 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19579         [BZ #10014]
19580         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19581         example host name.
19583 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19585         * malloc/arena.c (arena_get_retry): New function that gets
19586         another arena for the caller to try its request on.
19587         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19588         current arena cannot fulfill the request.
19589         (__libc_memalign): Likewise.
19590         (__libc_memalign): Likewise.
19591         (__libc_pvalloc): Likewise.
19592         (__libc_calloc): Likewise.
19594 2012-09-05  John Tobey  <john.tobey@gmail.com>
19596         [BZ #13542]
19597         * manual/arith.texi (Operations on Complex): Fix description
19598         of carg branch cut.
19600 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19602         [BZ #10014]
19603         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19604         host name.
19606         [BZ #10038]
19607         * manual/memory.texi (Memory): Make order of menu items match
19608         order of sections.
19610 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19612         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19613         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19614         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19616 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19618         * csu/libc-tls.c (static_dtv): Renamed to ...
19619         (_dl_static_dtv): This.  Make it global.
19620         (_dl_initial_dtv): Removed.
19621         (__libc_setup_tls): Updated.
19622         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19623         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19624         DL_INITIAL_DTV.
19626 2012-09-06  Petr Machata  <pmachata@redhat.com>
19628         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19629         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19630         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19631         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19633 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19635         [BZ #14545]
19636         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19637         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19638         freeing dtv[-1].
19640 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19642         [BZ #14544]
19643         * Makeconfig (link-static-before-libc): Replace $(+prector)
19644         with $(+prectorT).
19645         (link-static-after-libc): Replace $(+postctor) with
19646         $(+postctorT).
19647         (link-bounded): Replace $(+prector)/$(+postctor) with
19648         $(+prectorT)/$(+postctorT).
19649         (+prectorT): New macro.
19650         (+postctorT): Likewise.
19652 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19654         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19655         (round_str): Handle values above the maximum for IBM long double
19656         as inexact.
19657         * stdlib/tst-strtod-round.c (tests): Regenerated.
19659 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19661         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19662         assembler flag.
19663         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19664         zarch_nohighgprs around the zarch optimized routines.
19665         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19666         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19667         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19668         for zarch.
19670 2012-09-05  David S. Miller  <davem@davemloft.net>
19672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19674         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19675         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19676         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19677         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19678         entries.
19680 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19682         * malloc/arena.c: Fold copyright years.
19683         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19685 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19687         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19689 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19691         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19693 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19695         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19696         change internal state upon failure.
19698 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19700         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19701         * malloc/memusage.c (mmap): Likewise.
19702         (mmap64, mremap): Likewise.  Adjust name in comment.
19704 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19706         * libio/fileops.c: Fix typos in comments.
19707         * libio/oldfileops.c: Likewise.
19708         * libio/wfileops.c: Likewise.
19710 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19712         [BZ #1349]
19713         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19714         (tst-malloc-usable-ENV): Set environment for test case.
19715         * malloc/hooks.c (malloc_check_get_size): New function to get
19716         requested size.
19717         * malloc/malloc.c (musable): Use malloc_check_get_size.
19718         * malloc/tst-malloc-usable.c: New test case.
19720 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19722         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19724 2012-09-05  Allan McRae  <allan@archlinux.org>
19726         [BZ #13966]
19727         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19728         determine header location.
19729         * configure: Regenerated.
19731 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19733         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19734         float format.
19735         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19736         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19737         format.
19738         (test): Regenerate.
19740 2012-09-04  David S. Miller  <davem@davemloft.net>
19742         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19743         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19744         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19746 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19748         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19749         failures.
19751         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19753 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19755         [BZ #9914]
19756         * libio/iogetdelim.c: Include <limits.h>.
19757         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19758         + len + 1 would overflow.
19760 2012-09-03  Andreas Jaeger  <aj@suse.de>
19762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19763         * sysdeps/i386/fpu/libm-test-ulps: Update.
19765 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19767         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19768         Add s_sinf-sse2, s_conf-sse2.
19770         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19771         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19772         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19773         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19775         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19776         for using routine as __sinf_ia32.
19777         Use macro for function declaration and weak_alias.
19778         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19779         for using routine as __cosf_ia32.
19780         Use macro for function declaration and weak_alias.
19782         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19783         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19785         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19786         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19789         * math/libm-test.inc (cos_test): Add more test cases.
19790         (sin_test): Likewise.
19791         (sincos_test): Likewise.
19793 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19795         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19796         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19797         hidden.
19798         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19800 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19802         [BZ #14538]
19803         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19804         first element of the GOT.
19805         (elf_machine_load_address): Return the difference between
19806         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19808 2012-09-01  Allan McRae  <allan@archlinux.org>
19810         [BZ #13412]
19811         * configure.in (AWK): Require gawk version 3.0 or later.
19812         * configure: Regenerated.
19814 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19816         * sysdeps/unix/sysv/linux/kernel-features.h
19817         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19818         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19819         [__NR_clock_getres]: Make code unconditional.
19820         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19821         (clock_getcpuclockid): Remove code left unreachable by removal of
19822         conditionals.
19823         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19824         code unconditional.
19825         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19826         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19827         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19828         Make code unconditional.
19829         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19830         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19831         * sysdeps/unix/sysv/linux/clock_settime.c
19832         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19833         conditional code.
19834         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19835         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19837 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19839         [BZ #14476]
19840         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19841         scripts/test-installation.pl.
19843         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19844         and $ld_so_version if it is set.
19846 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19848         [BZ #14516]
19849         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19850         failure if reading from procfs failed.
19851         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19853 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19855         * sysdeps/unix/sysv/linux/kernel-features.h
19856         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19857         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19858         Remove conditional code.
19859         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19860         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19861         Remove conditional code.
19862         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19863         * sysdeps/unix/sysv/linux/i386/fxstat.c
19864         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19865         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19866         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19867         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19868         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19869         * sysdeps/unix/sysv/linux/i386/lxstat.c
19870         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19871         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19872         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19873         Remove conditional code.
19874         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19875         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19876         Remove conditional code.
19877         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19878         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19879         <kernel-features.h>.
19880         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19881         Remove.
19882         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19883         Remove conditional code.
19884         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19885         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19886         Remove conditional.
19888 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19890         [BZ #5400]
19891         * NEWS: Add fixed bug number.
19893 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19895         [BZ #14519]
19896         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19897         underflowing exponent in case of negative sign.
19898         * stdlib/tst-strtod-round-data: Add more tests.
19899         * stdlib/tst-strtod-round.c (tests): Regenerated.
19901         [BZ #3479]
19902         * stdlib/strtod_l.c (NDIG): Remove.
19903         (HEXNDIG): Likewise.
19904         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19905         smallest representable value.
19906         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19907         lie within an exact representation of 1/2 ulp of the result.
19908         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19909         unconditionally.
19910         (TENS_P9_IDX): Define unconditionally.
19911         (TENS_P9_SIZE): Likewise.
19912         (TENS_P10_IDX): Likewise.
19913         (TENS_P10_SIZE): Likewise.
19914         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19915         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19916         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19917         entries for 10^2^13 and 10^2^14.
19918         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19919         (TENS_P13_IDX): Define.
19920         (TENS_P13_SIZE): Likewise.
19921         (TENS_P14_IDX): Likewise.
19922         (TENS_P14_SIZE): Likewise.
19923         (_fpioconst_pow10): Change array size to
19924         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19925         unconditional.
19926         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19927         1024]: Add entries for 10^2^13 and 10^2^14.
19928         [LAST_POW10 > _LAST_POW10]: Remove #error.
19929         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19930         (_fpioconst_pow10): Change array size to
19931         FPIOCONST_POW10_ARRAY_SIZE.
19932         * stdlib/gen-fpioconst.c: New file.
19933         * stdlib/gen-tst-strtod-round.c: Likewise.
19934         * stdlib/tst-strtod-round-data: Likewise.
19935         * stdlib/tst-strtod-round.c: Likewise.
19936         * stdlib/Makefile (tests): Add tst-strtod-round.
19938         [BZ #14459]
19939         * stdlib/strtod_l.c: Include <stdint.h>.
19940         (NDEBUG): Do not define.
19941         (round_and_return): Change EXPONENT parameter to type intmax_t.
19942         Rearrange calculations to avoid internal overflow possibilities.
19943         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19944         Rearrange calculations to avoid internal overflow possibilities.
19945         Assert that number fits inside MPNSIZE limbs.
19946         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19947         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19948         calculations and add assertions to avoid internal overflow
19949         possibilities.  Add casts to avoid signed/unsigned operations.
19950         * stdlib/tst-strtod-overflow.c: New file.
19951         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19953 2012-08-25  Marek Polacek  <polacek@redhat.com>
19955         * time/time.h: Fix some typos in comments.
19957 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19959         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19960         * posix/tst-rfc3484-2.c: Likewise.
19961         * posix/tst-rfc3484-3.c: Likewise.
19963 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19965         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19966         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19968 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19970         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19971         #include of fxstatat64.c.
19973 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19975         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19976         * shadow/getspent_r.c: Likewise.
19977         * shadow/getspnam.c: Likewise.
19978         * shadow/getspnam_r.c: Likewise.
19979         * gshadow/getsgent.c: Likewise.
19980         * gshadow/getsgent_r.c: Likewise.
19981         * gshadow/getsgnam.c: Likewise.
19982         * gshadow/getsgnam_r.c: Likewise.
19983         * inet/getnetbyad.c: Likewise.
19984         * inet/getnetbyad_r.c: Likewise.
19985         * inet/getnetbynm.c: Likewise.
19986         * inet/getnetbynm_r.c: Likewise.
19987         * inet/getnetent.c: Likewise.
19988         * inet/getnetent_r.c: Likewise.
19989         * inet/getproto.c: Likewise.
19990         * inet/getproto_r.c: Likewise.
19991         * inet/getprtent.c: Likewise.
19992         * inet/getprtent_r.c: Likewise.
19993         * inet/getprtname.c: Likewise.
19994         * inet/getprtname_r.c: Likewise.
19995         * inet/getrpcbyname.c: Likewise.
19996         * inet/getrpcbyname_r.c: Likewise.
19997         * inet/getrpcbynumber.c: Likewise.
19998         * inet/getrpcbynumber_r.c: Likewise.
19999         * inet/getrpcent.c: Likewise.
20000         * inet/getrpcent_r.c: Likewise.
20001         * inet/getaliasent.c: Likewise.
20002         * inet/getaliasent_r.c: Likewise.
20003         * inet/getaliasname.c: Likewise.
20004         * inet/getaliasname_r.c: Likewise.
20005         * nscd/getgrgid_r.c: Likewise.
20006         * nscd/getgrnam_r.c: Likewise.
20007         * nscd/gethstbyad_r.c: Likewise.
20008         * nscd/gethstbynm3_r.c: Likewise.
20009         * nscd/getpwnam_r.c: Likewise.
20010         * nscd/getpwuid_r.c: Likewise.
20011         * nscd/getsrvbynm_r.c: Likewise.
20012         * nscd/getsrvbypt_r.c: Likewise.
20013         * nscd/gai.c: Likewise.
20015         * configure.in (build_nscd): New substituted variable, set
20016         by --disable-build-nscd and defaults to $use_nscd.
20017         * configure: Regenerated.
20018         * config.make.in (build-nscd): New substituted variable.
20019         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20020         Change conditional to require [$(build-nscd) = yes] as well.
20021         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20023         [BZ# 13696]
20024         * configure.in (use_nscd): New substituted variable, set by
20025         --disable-nscd.  If enabled, define USE_NSCD.
20026         * configure: Regenerated.
20027         * config.h.in: Add USE_NSCD.
20028         * config.make.in (use-nscd): New substituted variable.
20029         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20030         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20031         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20032         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20033         (CFLAGS-getgrnam_r.c): Likewise.
20034         (CFLAGS-initgroups.c): Likewise.
20035         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20036         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20037         Variables removed.
20038         * inet/getnetgrent_r.c
20039         (nscd_setnetgrent): New function, broken out of ...
20040         (setnetgrent): ... here.  Call it.
20041         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20042         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20043         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20044         * nscd/Makefile (routines, aux): Move definitions after include of
20045         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20046         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20047         Conditionalize on [USE_NSCD].
20048         (is_nscd, nscd_init_cb): Likewise.
20049         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20050         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20051         * nss/nss_db/db-init.c: Likewise.
20052         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20053         [USE_NSCD].
20054         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20055         (make_request): Use it.
20056         (cache_valid_p): New function.
20057         (__check_pf): Use it.
20058         * NEWS: Add item for --disable-nscd.
20060 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20062         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20063         to support sed >= 4.2.1-20-ga9bf076.
20064         * configure: Regenerated.
20066 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20068         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20069         Conditionalize whole body on [IREL].
20071 2012-08-22  Jeff Law <law@redhat.com>
20073         [BZ #14505]
20074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20075         if the family is PF_UNSPEC.
20077 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20079         * Makerules (lib-version): Rename from V.
20080         (install-lib-nosubdir): Change V to lib-version.
20082 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20084         [BZ #14252]
20085         * powerpc32/power6/wcschr.c: New file.
20086         * powerpc32/power6/wcscpy.c: New file.
20087         * powerpc32/power6/wcsrchr.c: New file.
20088         * powerpc64/power6/wcschr.c: New file.
20089         * powerpc64/power6/wcscpy.c: New file.
20090         * powerpc64/power6/wcsrchr.c: New file.
20092 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20094         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20095         (two_way_short_needle): Use it.
20096         * string/strstr.c (AVAILABLE1_USES_J): Define.
20097         * string/strcasestr.c: Likewise.
20099         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20100         array references.
20101         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20103         [BZ #11607]
20104         * NEWS: Add an entry.
20105         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20106         define their defaults.
20107         (two_way_short_needle): Detect end-of-string on-the-fly.
20108         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20109         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20110         * string/bug-strcasestr1.c: New test.
20111         * string/Makefile: Run it.
20113 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20115         [BZ #11607]
20116         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20117         the first character.
20119 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20121         * csu/elf-init.c (__libc_csu_irel): Function removed.
20122         * csu/libc-start.c (apply_irel): New function.
20123         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20125 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20127         * sysdeps/unix/sysv/linux/kernel-features.h
20128         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20129         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20130         <kernel-features.h>.
20131         [__NR_fadvise64_64]: Make code unconditional.
20132         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20133         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20134         !__NR_fadvise64_64)]: Likewise.
20135         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20136         !__NR_fadvise64_64))]: Likewise.
20137         [__NR_fadvise64]: Make code unconditional.
20138         [!__NR_fadvise64]: Remove conditional code.
20139         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20140         <kernel-features.h>.
20141         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20142         unconditional.
20143         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20144         conditional code.
20145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20146         not include <kernel-features.h>.
20147         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20148         unconditional.
20149         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20150         conditional code.
20151         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20152         include <kernel-features.h>.
20153         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20154         unconditional.
20155         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20156         conditional code.
20158 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20160         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20161         slight instruction rearrangements per scrollpipe analysis.
20162         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20164 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20166         * manual/syslog.texi (syslog; vsyslog, closelog):
20167         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20168         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20170         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20171         DSOCAPS to match condition on defining it.
20173 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20175         * sysdeps/unix/sysv/linux/kernel-features.h
20176         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20178         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20179         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20181         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20182         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20184         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20185         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20187         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20188         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20190         * sysdeps/unix/sysv/linux/kernel-features.h
20191         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20192         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20193         unconditional.
20194         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20195         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20196         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20197         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20198         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20199         Make code unconditional.
20200         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20201         (__mmap64) [!__NR_mmap2]: Likewise.
20202         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20203         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20204         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20205         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20206         [__NR_mmap2]: Make code unconditional.
20207         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20208         (__mmap64) [!__NR_mmap2]: Likewise.
20210 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20212         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20214 2012-08-18  Andreas Jaeger  <aj@suse.de>
20216         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20218 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20220         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20221         * include/unistd.h (__have_sock_cloexec): Likewise.
20222         (__have_pipe2): Likewise.
20223         (__have_dup3): Likewise.
20225 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20227         [BZ #9685]
20228         * include/unistd.h (__have_pipe2): Change define into an extern int.
20229         (__have_dup3): Likewise.
20230         * socket/have_sock_cloexec.c: Include fcntl.h.
20231         (__have_pipe2): New variable.
20232         (__have_dup3): Likewise.
20234 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20236         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20238 2012-08-17  Marek Polacek  <polacek@redhat.com>
20240         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20241         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20243 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20245         * configure.in: Add AC_SUBST for sysheaders.
20246         * configure: Regenerated.
20247         * config.make.in (sysheaders): New substituted variable.
20249         * sysdeps/unix/mkfifo.c: Moved ...
20250         * sysdeps/posix/mkfifo.c: ... here.
20251         * sysdeps/unix/mkfifoat.c: Moved ...
20252         * sysdeps/posix/mkfifoat.c: ... here.
20254         * sysdeps/unix/utime.c: Moved ...
20255         * sysdeps/posix/utime.c: ... here.
20257         * sysdeps/unix/time.c: Moved ...
20258         * sysdeps/posix/time.c: ... here.
20259         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20260         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20262         * sysdeps/unix/nice.c: Moved ...
20263         * sysdeps/posix/nice.c: ... here.
20265         * sysdeps/unix/alarm.c: Moved ...
20266         * sysdeps/posix/alarm.c: ... here.
20268         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20270 2012-08-17  Jeff Law <law@redhat.com>
20272         * intl/Makefile (codeset_mo): New variable.
20273         ($(codeset_mo)): New target.
20274         (tst-codeset.out): Depend on that.  Remove explicit rule.
20275         (tst-gettext3.out, tst-gettext5.out): Likewise.
20276         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20277         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20278         * intl/tst-codeset.sh: Remove.
20279         * intl/tst-gettext3.sh: Likewise.
20280         * intl/tst-gettext5.sh: Likewise.
20282 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20284         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20285         * sysdeps/unix/syscalls.list: ... here.
20287         * sysdeps/posix/getaddrinfo.c
20288         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20289         (gaiconf_init, gaiconf_reload): Use them.
20290         [!_STATBUF_ST_NSEC]
20291         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20292         Define using time_t rather than struct timespec.
20294         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20295         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20296         Macros removed.
20297         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20298         [!NO_THREADS].
20299         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20300         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20301         Likewise.
20303         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20304         __libc_cleanup_push argument.
20306         * bits/param.h: New file.
20307         * misc/sys/param.h: New file.
20308         * include/sys/param.h: New file.
20309         * misc/Makefile (headers): Add bits/param.h.
20310         * sysdeps/generic/sys/param.h: File removed.
20311         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20312         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20313         * sysdeps/mach/hurd/bits/param.h: New file.
20314         * sysdeps/mach/hurd/sys/param.h: File removed.
20316         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20317         last change.
20319         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20320         [_IO_MTSAFE_IO].
20321         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20322         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20323         New macros.
20325         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20326         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20327         rather than -D_IO_MTSAFE_IO conditionally.
20328         * stdio-common/Makefile (CPPFLAGS): Likewise.
20329         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20330         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20331         Use $(libio-mtsafe).
20332         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20333         of -D_IO_MTSAFE_IO.
20334         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20335         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20336         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20337         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20338         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20339         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20340         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20341         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20342         (CFLAGS-fread_u_chk.c): Likewise.
20343         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20344         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20345         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20346         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20347         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20348         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20349         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20350         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20351         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20353         * libio/Makefile: Test [$(libc-reentrant) = yes]
20354         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20356         * Makeconfig
20357         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20358         * sysdeps/pthread/configure: File removed.
20359         * sysdeps/pthread/Makeconfig: New file.
20360         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20361         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20363 2012-08-16  Gary Benson  <gbenson@redhat.com>
20365         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20366         unmapping the first object in a namespace.
20368 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20370         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20371         (__internal_setnetgrent): ... this.  Add internal_function to
20372         definition.  Add libc_hidden_def.
20373         (setnetgrent): Update caller.
20374         (internal_endnetgrent): Renamed to ...
20375         (__internal_endnetgrent): ... this.  Add internal_function to
20376         definition.  Add libc_hidden_def.
20377         (endnetgrent): Update caller.
20378         (internal_getnetgrent_r): Renamed to ...
20379         (__internal_getnetgrent_r): ... this.  Add internal_function to
20380         definition.  Add libc_hidden_def.
20381         (__getnetgrent_r): Update caller.
20382         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20384 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20386         * stdlib/longlong.h: Update from GCC.
20388 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20390         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20391         on _QL, which is set by umul_ppmm but never used.
20392         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20393         variables, which are set by GMP macros but never used.
20394         * stdio-common/_itowa.c (_itowa): Likewise.
20395         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20396         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20398 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20400         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20401         struct La_sh_regs is not constant.
20402         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20403         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20404         and struct La_sparc64_regs are not constant.
20406 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20408         * sysdeps/unix/sysv/linux/kernel-features.h
20409         (__ASSUME_POSIX_TIMERS): Remove.
20410         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20411         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20412         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20413         Make code unconditional.
20414         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20415         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20416         Make code unconditional.
20417         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20418         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20419         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20420         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20421         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20422         Make code unconditional.
20423         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20424         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20425         (__libc_missing_posix_timers): Remove.
20427 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20429         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20430         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20432         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20434         * elf/dl-sym.c: Include <stdlib.h>.
20436         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20437         constants, which avoids warnings in 32-bit builds.
20439         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20440         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20442         * misc/lseek.c: File moved to ...
20443         * io/lseek.c: ... here.
20445         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20447         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20448         shifting LEN more than 31 bits at once.
20450 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20452         [BZ #14195]
20453         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20454         segmentation fault for a case of two empty input strings.
20455         * string/test-strncasecmp.c (check1): Renamed to...
20456         (bz12205): ...this.
20457         (bz14195): Add new testcase for two empty input strings and N > 0.
20458         (test_main): Call new testcase, adapt for renamed function.
20460 2012-08-15  Andreas Jaeger  <aj@suse.de>
20462         [BZ #14090]
20463         * crypt/md5test2.c: New test, based on test supplied by Serge
20464         Belyshev <belyshev@depni.sinp.msu.ru>.
20465         * crypt/Makefile (xtests): Add md5test-giant..
20466         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20468 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20470         [BZ #14090]
20471         * crypt/md5.c (md5_process_block): Don't assume the buffer
20472         length is less than 2**32.
20473         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20474         length is less than 2**64.
20476 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20478         * string/str-two-way.h: Include <sys/param.h>.
20479         (MAX): Macro removed.
20481         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20482         Move #define and #undef of memmove to just before and after
20483         including <string.h>.
20485         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20486         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20487         and after including <string.h>.  Move declarations of
20488         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20489         to before #include "string/memmove.c".
20491         * include/dirent.h: Declare __getdirentries.
20493         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20494         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20496 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20498         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20499         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20500         * sysdeps/i386/configure: Regenerated.
20501         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20502         STABS_CURRENT_FILE, and STABS_FUN.
20503         (END): Remove call to STABS_FUN_END.
20504         (STABS_CURRENT_FILE1): Delete.
20505         (STABS_CURRENT_FILE): Likewise.
20506         (STABS_FUN): Likewise.
20507         (STABS_FUN_END): Likewise.
20508         (STABS_FUN2): Likewise.
20509         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20510         * sysdeps/x86_64/configure: Regenerated.
20512 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20514         * elf/dl-open.c: Include <atomic.h>.
20515         * elf/dl-lookup.c: Likewise.
20517 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20519         * sysdeps/unix/sysv/linux/kernel-features.h
20520         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20521         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20522         unconditionally.
20523         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20524         unconditionally.
20525         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20526         condition on __ASSUME_CLONE_THREAD_FLAGS.
20528 2012-08-14  Andreas Jaeger  <aj@suse.de>
20530         * sysdeps/i386/fpu/libm-test-ulps: Update.
20532 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20534         * include/atomic.h (atomic_exchange_and_add): Split into ...
20535         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20536         New atomic macros.
20538 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20542 2012-08-13  Jeff Law <law@redhat.com>
20544         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20545         null byte in the output string.
20547 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20549         * sysdeps/unix/sysv/linux/kernel-features.h
20550         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20551         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20552         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20553         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20554         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20555         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20556         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20558 2012-08-09  Jeff Law <law@redhat.com>
20560         [BZ #13939]
20561         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20562         When avoid_arena is set, don't retry in the that arena.  Pick the
20563         next one, whatever it might be.
20564         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20565         (arena_lock): Pass in new parameter to arena_get2.
20566         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20567         arena_get2.
20568         (__libc_malloc): Unify retrying after main arena failure with
20569         __libc_memalign version.
20570         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20572 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20574         [BZ #14166]
20575         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20576         to __redirect_strstr.
20577         (__strstr_sse42): Use typeof __redirect_strstr.
20578         (__strstr_ia32): Likewise.
20579         (__libc_strstr): New prototype.
20580         (strstr): Renamed to ...
20581         (__libc_strstr): This.
20582         (strstr): New strong alias of __libc_strstr.
20583         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20584         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20585         __redirect_time.
20586         Include <time.h>.
20587         (__libc_time): New prototype.
20588         (time_ifunc): Replace time with __libc_time.
20589         (time): New strong alias and hidden definition of __libc_time.
20590         (__GI_time): Remove strong alias.
20591         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20592         Include <stddef.h>.
20593         (memmove): Redefined to __redirect_memmove.
20594         (__memmove_sse2): Use typeof __redirect_memmove.
20595         (__memmove_ssse3): Likewise.
20596         (__memmove_ssse3_back): Likewise.
20597         (__libc_memmove): New prototype.
20598         (memmove): Renamed to ...
20599         (__libc_memmove): This.
20600         (memmove): New strong alias of __libc_memmove.
20602 2012-08-08  Mark Salter  <msalter@redhat.com>
20604         * elf/elf.h
20605         (R_MN10300_TLS_GD): Define.
20606         (R_MN10300_TLS_LD): Likewise.
20607         (R_MN10300_TLS_LDO): Likewise.
20608         (R_MN10300_TLS_GOTIE): Likewise.
20609         (R_MN10300_TLS_IE): Likewise.
20610         (R_MN10300_TLS_LE): Likewise.
20611         (R_MN10300_TLS_DTPMOD): Likewise.
20612         (R_MN10300_TLS_DTPOFF): Likewise.
20613         (R_MN10300_TLS_TPOFF): Likewise.
20614         (R_MN10300_SYM_DIFF): Likewise.
20615         (R_MN10300_ALIGN): Likewise.
20616         (R_MN10300_NUM): Update.
20618 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20620         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20621         Remove.
20623 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20625         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20627         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20628         sysdeps/unix -> sysdeps/posix move.
20629         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20631 2012-08-07      Allan McRae     <allan@archlinux.org>
20633         [BZ #14303]
20634         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20635         (SUNOS_CPP): Likewise.
20636         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20637         not found.
20638         (open_input): Call CPP using execvp.
20640 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20642         * sysdeps/unix/sysv/linux/kernel-features.h
20643         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20644         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20645         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20646         (__ASSUME_WAITID_SYSCALL): Likewise.
20647         * sysdeps/unix/sysv/linux/dl-execstack.c
20648         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20649         code unconditional.
20650         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20651         conditional code.
20652         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20653         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20654         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20655         code.
20656         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20657         unconditional.
20658         [__ASSUME_WAITID_SYSCALL]: Likewise.
20659         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20661 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20663         * sysdeps/unix/closedir.c: Renamed to ...
20664         * sysdeps/posix/closedir.c: ... here.
20665         * sysdeps/unix/dirfd.c: Renamed to ...
20666         * sysdeps/posix/dirfd.c: ... here.
20667         * sysdeps/unix/dirstream.h: Renamed to ...
20668         * sysdeps/posix/dirstream.h: ... here.
20669         * sysdeps/unix/fdopendir.c: Renamed to ...
20670         * sysdeps/posix/fdopendir.c: ... here.
20671         * sysdeps/unix/opendir.c: Renamed to ...
20672         * sysdeps/posix/opendir.c: ... here.
20673         * sysdeps/unix/readdir.c: Renamed to ...
20674         * sysdeps/posix/readdir.c: ... here.
20675         * sysdeps/unix/readdir_r.c: Renamed to ...
20676         * sysdeps/posix/readdir_r.c: ... here.
20677         * sysdeps/unix/rewinddir.c: Renamed to ...
20678         * sysdeps/posix/rewinddir.c: ... here.
20679         * sysdeps/unix/seekdir.c: Renamed to ...
20680         * sysdeps/posix/seekdir.c: ... here.
20681         * sysdeps/unix/telldir.c: Renamed to ...
20682         * sysdeps/posix/telldir.c: ... here.
20683         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20684         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20685         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20686         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20688         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20689         * bits/fcntl.h: ... here.
20691         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20692         not 0.
20693         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20694         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20695         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20696         (struct flock): Move l_start, l_len to the beginning.
20697         Use __pid_t for l_pid.
20698         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20699         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20700         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20701         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20702         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20703         [__USE_LARGEFILE64] (struct flock64): New type.
20704         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20706         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20707         * bits/dirent.h: ... here.
20709         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20710         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20712 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20714         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20715         Change from 2.6.0 to 2.6.16.
20716         * sysdeps/unix/sysv/linux/configure: Regenerated.
20717         * sysdeps/unix/sysv/linux/kernel-features.h
20718         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20719         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20720         version.
20721         (__ASSUME_UTIMES): Likewise.
20722         (__ASSUME_CLONE_STOPPED): Remove.
20723         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20724         architectures, not kernel version.
20725         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20726         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20727         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20728         (__ASSUME_WAITID_SYSCALL): Likewise.
20729         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20730         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20731         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20732         refer to older versions.
20734 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20736         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20737         Define alphasort64 as an alias.
20738         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20739         Define versionsort64 as an alias.
20740         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20741         Define scandir64 as an alias.
20742         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20743         Define scandirat64 as an alias.
20744         * dirent/alphasort64.c (alphasort64):
20745         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20746         * dirent/versionsort64.c: Likewise.
20747         * dirent/scandir64.c: Likewise.
20748         * dirent/scandirat64.c: Likewise.
20749         * sysdeps/wordsize-64/alphasort.c: File removed.
20750         * sysdeps/wordsize-64/alphasort64.c: File removed.
20751         * sysdeps/wordsize-64/scandir.c: File removed.
20752         * sysdeps/wordsize-64/scandir64.c: File removed.
20753         * sysdeps/wordsize-64/scandirat.c: File removed.
20754         * sysdeps/wordsize-64/scandirat64.c: File removed.
20755         * sysdeps/wordsize-64/versionsort.c: File removed.
20756         * sysdeps/wordsize-64/versionsort64.c: File removed.
20757         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20758         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20759         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20760         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20761         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20762         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20763         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20764         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20766         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20767         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20768         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20769         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20770         [defined __arch64__ || defined __sparcv9]
20771         (__INO_T_MATCHES_INO64_T): New macro.
20772         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20773         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20774         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20775         * sysdeps/unix/sysv/linux/bits/dirent.h
20776         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20777         (_DIRENT_MATCHES_DIRENT64): New macro.
20779         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20780         Define lockf64 as an alias.
20781         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20782         Define fseeko64 as an alias.
20783         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20784         Define ftello64 as an alias.
20785         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20786         Define _IO_fgetpos64 and fgetpos64 as aliases.
20787         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20788         Define _IO_fsetpos64 and fsetpos64 as aliases.
20789         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20790         Conditionalize body on this.
20791         * libio/fseeko64.c: Likewise.
20792         * libio/ftello64.c: Likewise.
20793         * libio/iofgetpos64.c: Likewise.
20794         * libio/iofsetpos64.c: Likewise.
20795         * sysdeps/wordsize-64/lockf.c: File removed.
20796         * sysdeps/wordsize-64/lockf64.c: File removed.
20797         * sysdeps/wordsize-64/fseeko.c: File removed.
20798         * sysdeps/wordsize-64/fseeko64.c: File removed.
20799         * sysdeps/wordsize-64/ftello.c: File removed.
20800         * sysdeps/wordsize-64/ftello64.c: File removed.
20801         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20802         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20803         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20804         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20805         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20806         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20807         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20808         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20809         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20810         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20811         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20812         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20813         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20814         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20816         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20817         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20818         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20819         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20820         [defined __arch64__ || defined __sparcv9]
20821         (__OFF_T_MATCHES_OFF64_T): New macro.
20822         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20823         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20824         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20825         (__OFF_T_MATCHES_OFF64_T): New macro.
20827 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20829         * stdlib/secure-getenv.c (__secure_getenv): Replace
20830         GLIBC_2_16 with GLIBC_2_17.
20832 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20834         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20835         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20837 2012-08-03  David S. Miller  <davem@davemloft.net>
20839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20841 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20843         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20844         Remove.
20845         (__ASSUME_CORRECT_SI_PID): Likewise.
20846         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20847         (__ASSUME_TMPFS_NAME): Likewise.
20848         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20849         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20850         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20851         (HAVE_AUX_SECURE): Make definition unconditional.
20852         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20853         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20855 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20857         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20858         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20859         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20860         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20861         __eloop_threshold instead of SYMLOOP_MAX.
20863         * sysdeps/generic/eloop-threshold.h: New file.
20864         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20865         of MAXSYMLINKS.
20866         * elf/chroot_canon.c (chroot_canon): Likewise.
20868 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20870         [BZ #13717]
20871         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20872         Change to 2.6.0 everywhere.
20873         * sysdeps/unix/sysv/linux/configure: Regenerated.
20874         * sysdeps/unix/sysv/linux/kernel-features.h
20875         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20876         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20877         kernel versions.
20878         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20879         (__ASSUME_FUTEX_REQUEUE): Remove.
20880         (__ASSUME_STATFS64): Define unconditionally.
20881         (__ASSUME_AT_SECURE): Likewise.
20882         (__ASSUME_CORRECT_SI_PID): Likewise.
20883         (__ASSUME_TGKILL): Define without depending on kernel version for
20884         i386.
20885         (__ASSUME_UTIMES): Likewise.
20886         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20887         kernel version.
20888         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20889         (__ASSUME_TMPFS_NAME): Likewise.
20890         * README: Update reference to Linux kernel versions.
20892 2012-08-02  Marek Polacek  <polacek@redhat.com>
20894         [BZ# 14150]
20895         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20896         libc_cv_asm_type_prefix with %.
20897         * configure: Regenerated.
20898         * include/libc-symbols.h: Remove comment about
20899         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20900         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20901         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20902         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20903         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20904         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20905         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20906         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20907         * elf/tst-unique2mod1.c: Likewise.
20908         * elf/tst-unique1mod2.c: Likewise.
20909         * elf/tst-unique1mod1.c: Likewise.
20910         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20911         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20912         Replace ASM_TYPE_DIRECTIVE with .type.
20913         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20914         * sysdeps/i386/sysdep.h: Likewise.
20915         * sysdeps/x86_64/sysdep.h: Likewise.
20916         * sysdeps/sh/sysdep.h: Likewise.
20917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20918         Do not define ASM_TYPE_DIRECTIVE.
20919         * sysdeps/powerpc/sysdep.h: Likewise.
20920         * sysdeps/powerpc/powerpc32/sysdep.h:
20921         Replace ASM_TYPE_DIRECTIVE with .type.
20922         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20923         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20924         * sysdeps/i386/fpu/e_powf.S: Likewise.
20925         * sysdeps/i386/fpu/e_expl.S: Likewise.
20926         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20927         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20928         * sysdeps/i386/fpu/e_pow.S: Likewise.
20929         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20930         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20931         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20932         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20933         * sysdeps/i386/fpu/e_log2.S: Likewise.
20934         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20935         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20936         * sysdeps/i386/fpu/e_powl.S: Likewise.
20937         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20938         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20939         * sysdeps/i386/fpu/e_logl.S: Likewise.
20940         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20941         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20942         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20943         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20944         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20945         * sysdeps/i386/fpu/e_log.S: Likewise.
20946         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20947         * sysdeps/i386/fpu/e_logf.S: Likewise.
20948         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20949         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20950         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20951         * sysdeps/i386/fpu/e_log10.S: Likewise.
20952         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20953         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20954         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20955         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20956         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20957         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20958         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20959         * sysdeps/i386/i686/strtok.S: Likewise.
20960         * sysdeps/i386/i386-mcount.S: Likewise.
20961         * sysdeps/i386/strtok.S: Likewise.
20962         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20963         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20964         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20965         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20966         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20967         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20968         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20969         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20970         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20971         * sysdeps/x86_64/_mcount.S: Likewise.
20972         * sysdeps/x86_64/strtok.S: Likewise.
20973         * sysdeps/sh/_mcount.S: Likewise.
20975 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20977         * libio/iofopen.c: Include <fcntl.h>.
20978         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20979         (_IO_fopen64, fopen64): Define as aliases.
20980         * libio/iofopen64.c: Include <fcntl.h>.
20981         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20982         Conditionalize body on this.
20983         * sysdeps/wordsize-64/iofopen.c: File removed.
20984         * sysdeps/wordsize-64/iofopen64.c: File removed.
20986 2012-08-01  Marek Polacek  <polacek@redhat.com>
20988         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20989         Use dlfcn directly instead of a variable.
20990         (binfmt-subdir): Do not define.
20991         (dlfcn): Likewise.
20993 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20995         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20996         Remove all definitions.
20997         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20998         <kernel-features.h>.
20999         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21000         (miss_F_GETOWN_EX): Remove all definitions.
21001         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21002         macro definition.
21003         [!__ASSUME_FCNTL64]: Remove conditional code.
21004         [__ASSUME_FCNTL64]: Make code unconditional.
21005         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21006         <kernel-features.h>.
21007         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21008         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21009         (lockf64) [__NR_fcntl64]: Make code unconditional.
21010         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21012         * sysdeps/unix/sysv/linux/kernel-features.h
21013         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21014         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21015         Make code unconditional.
21016         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21017         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21019         [__NR_vfork]: Make code unconditional.
21020         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21021         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21023         [__NR_vfork]: Make code unconditional.
21024         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21025         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21027 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21029         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21030         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21032         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21033         Define mkstemp64 as an alias.
21034         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21035         Define mkstemps64 as an alias.
21036         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21037         Define mkostemp64 as an alias.
21038         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21039         Define mkostemps64 as an alias.
21040         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21041         Conditionalize body on this.
21042         * misc/mkostemp64.c: Likewise.
21043         * misc/mkostemps64.c: Likewise.
21044         * misc/mkstemps64.c: Likewise.
21045         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21046         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21047         * sysdeps/wordsize-64/mkostemp.c: File removed.
21048         * sysdeps/wordsize-64/mkstemp.c: File removed.
21049         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21050         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21051         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21052         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21054         [BZ #14138]
21055         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21056         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21057         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21058         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21060         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21061         compat_symbol macros from <shlib-compat.h> rather than the underlying
21062         default_symbol_version and symbol_version macros, so that DEFAULT
21063         lines in shlib-versions are respected.
21064         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21066 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21068         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21069         Declare with warn_unused_result.
21070         (setgid, setregid, setegid, setresgid): Likewise.
21071         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21072         Likewise.
21073         * WUR-REPORT: Remove set*id functions.
21075 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21077         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21079 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21081         [BZ #10191]
21082         * include/sys/socket.h (__libc_accept, __libc_accept4):
21083         Add attribute_hidden.
21084         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21086         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21087         use of PTR_MANGLE.
21088         * inet/getnetgrent_r.c (setup): Likewise.
21090         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21092 2012-07-31  David S. Miller  <davem@davemloft.net>
21094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21096 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21098         [BZ #13629]
21099         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21100         value between 1.0 and 2.0 and smaller part has absolute value less
21101         than 1.0.
21102         * math/s_clog10.c (__clog10): Likewise.
21103         * math/s_clog10f.c (__clog10f): Likewise.
21104         * math/s_clog10l.c (__clog10l): Likewise.
21105         * math/s_clogf.c (__clogf): Likewise.
21106         * math/s_clogl.c (__clogl): Likewise.
21107         * math/libm-test.inc (clog_test): Add more tests.
21108         (clog10_test): Likewise.
21109         * sysdeps/i386/fpu/libm-test-ulps: Update.
21110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21112 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21114         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21115         Exit with zero in case no suitable GID is found, and write a
21116         message to standard error.
21118 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21120         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21121         rather than to 1.
21122         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21123         (MAXPATHLEN): Removed.
21124         (NOGROUP, NODEV): New macros.
21125         (setbit, clrbit, isset, isclr): New macros.
21126         (howmany, roundup, powerof2): New macros.
21127         (DEV_BSIZE): New macro.
21129         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21130         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21132         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21133         definition on [!__NO_LONG_DOUBLE_MATH].
21135         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21136         PTR_MANGLE and PTR_DEMANGLE.
21138         * socket/accept4.c (accept4): Rename to __libc_accept4.
21139         Define accept4 as a weak alias.
21141         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21142         on [_DIRENT_HAVE_D_TYPE].
21143         * io/ftw.c (ftw_dir): Likewise.
21145         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21147         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21149         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21150         Use the BSD numbers rather than the arbitrary ones we had.
21151         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21152         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21153         (SIGXCPU, SIGXFSZ): New macros.
21154         (_NSIG): Now 32.
21156         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21157         initializer on [_LIBC_REENTRANT].
21159         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21160         definitions inside [_POSIX_MAPPED_FILES].
21162         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21164         * dirent/opendir.c: Include <fcntl.h>.
21166         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21167         (__libc_getspecific): Likewise.
21168         (__libc_key_create): Likewise.
21170         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21171         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21172         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21173         (tmpfile64): Define as alias.
21174         * sysdeps/wordsize-64/tmpfile.c: File removed.
21175         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21176         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21177         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21179         * stdio-common/vfscanf.c: Include <stdbool.h>.
21180         * nss/makedb.c: Likewise.
21181         * stdio-common/_i18n_number.h: Likewise.
21182         * argp/argp-help.c: Likewise.
21183         * posix/wordexp.c: Likewise.
21184         * sysdeps/posix/spawni.c: Likewise.
21185         * nss/nss_files/files-initgroups.c: Likewise.
21186         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21187         * nss/nss_files/files-initgroups.c: Likewise.
21188         * nss/nss_db/db-netgrp.c: Likewise.
21189         * nss/nss_db/db-initgroups.c: Likewise.
21190         * io/fchmodat.c: Include <sys/stat.h>.
21192         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21193         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21195         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21196         [HAVE_MMAP].
21198         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21199         Add multiple inclusion protection.
21201 2012-07-27  David S. Miller  <davem@davemloft.net>
21203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21205 2012-07-27  Gary Benson  <gbenson@redhat.com>
21207         [BZ #14298]
21208         * elf/rtld.c: Include <stap-probe.h>.
21209         (dl_main): Added static probes "init_start" and "init_complete".
21210         * elf/dl-load.c: Include <stap-probe.h>.
21211         (lose): Take new parameter "nsid".
21212         Added static probe "map_failed".
21213         (_dl_map_object_from_fd): Pass namespace id to lose.
21214         Added static probe "map_start".
21215         (open_verify): Pass namespace id to lose.
21216         * elf/dl-open.c: Include <stap-probe.h>.
21217         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21218         and "reloc_complete".
21219         * elf/dl-close.c: Include <stap-probe.h>.
21220         (_dl_close_worker): Added static probes "unmap_start" and
21221         "unmap_complete".
21222         * elf/rtld-debugger-interface.txt: New file documenting the above.
21224 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21226         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21227         rather than a string variable.
21228         * sunrpc/rpc_main.c (h_output): Likewise.
21229         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21231 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21233         * inet/check_native.c: New file.
21235 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21237         [BZ #13629]
21238         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21239         if larger part has absolute value 1.0.
21240         * math/s_clog10.c (__clog10): Likewise.
21241         * math/s_clog10f.c (__clog10f): Likewise.
21242         * math/s_clog10l.c (__clog10l): Likewise.
21243         * math/s_clogf.c (__clogf): Likewise.
21244         * math/s_clogl.c (__clogl): Likewise.
21245         * math/libm-test.inc (clog_test): Add more tests.
21246         (clog10_test): Likewise.
21247         * sysdeps/i386/fpu/libm-test-ulps: Update.
21248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21250         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21251         (pltexit): Likewise.
21252         (La_regs): Likewise.
21253         (La_retval): Likewise.
21254         (int_retval): Likewise.
21255         Update #error for removed macros to refer only to definitions in
21256         tst-audit.h.
21257         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21258         macro.
21259         (pltexit): Likewise.
21260         (La_regs): Likewise.
21261         (La_retval): Likewise.
21262         (int_retval): Likewise.
21263         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21264         macro.
21265         (pltexit): Likewise.
21266         (La_regs): Likewise.
21267         (La_retval): Likewise.
21268         (int_retval): Likewise.
21269         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21270         macro.
21271         (pltexit): Likewise.
21272         (La_regs): Likewise.
21273         (La_retval): Likewise.
21274         (int_retval): Likewise.
21275         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21276         macro.
21277         (pltexit): Likewise.
21278         (La_regs): Likewise.
21279         (La_retval): Likewise.
21280         (int_retval): Likewise.
21281         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21282         macro.
21283         (pltexit): Likewise.
21284         (La_regs): Likewise.
21285         (La_retval): Likewise.
21286         (int_retval): Likewise.
21287         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21288         macro.
21289         (pltexit): Likewise.
21290         (La_regs): Likewise.
21291         (La_retval): Likewise.
21292         (int_retval): Likewise.
21293         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21294         macro definitions in tst-audit.h.
21295         * sysdeps/i386/tst-audit.h: New file.
21296         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21297         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21298         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21299         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21300         * sysdeps/sh/tst-audit.h: Likewise.
21301         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21302         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21303         * sysdeps/x86_64/tst-audit.h: Likewise.
21305 2012-07-26  Andreas Jaeger  <aj@suse.de>
21307         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21308         ptrace.
21310         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21311         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21312         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21313         PTRACE_O_MASK.
21314         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21315         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21316         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21318         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21319         value.
21321         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21322         _sigsys.
21323         (si_call_addr, si_syscall, si_arch): Define new macro.
21324         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21325         _sigsys.
21326         (si_call_addr, si_syscall, si_arch): Define new marcro.
21327         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21328         _sigsys.
21329         (si_call_addr, si_syscall, si_arch): Define new macro.
21330         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21331         _sigsys.
21332         (si_call_addr, si_syscall, si_arch): Define new macro.
21334 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21336         [BZ #13717]
21337         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21338         Change to 2.4.21 where previously 2.4.1.
21339         * sysdeps/unix/sysv/linux/configure: Regenerated.
21340         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21341         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21342         Linux kernel version.
21343         (__ASSUME_STD_AUXV): Remove.
21344         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21345         kernel version.
21346         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21347         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21348         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21349         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21350         (__ASSUME_NETLINK_SUPPORT): Likewise.
21351         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21352         (__no_netlink_support): Remove conditional definition.
21353         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21354         Remove.
21355         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21356         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21357         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21358         (if_nameindex_ioctl): Remove.
21359         (if_nameindex_netlink): Do not handle __no_netlink_support.
21360         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21361         code.
21362         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21363         Remove conditional code.
21364         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21365         code.
21366         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21367         unconditional.
21368         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21369         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21370         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21371         Remove.
21372         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21373         [!__ASSUME_STD_AUXV]: Remove conditional code.
21374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21375         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21376         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21378         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21379         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21380         code.
21381         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21383         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21384         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21385         conditional code.
21386         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21388         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21389         code.
21390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21391         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21392         conditional code.
21393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21394         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21395         code unconditional.
21396         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21397         conditional code.
21398         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21399         unconditional.
21400         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21401         conditional code.
21402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21403         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21404         unconditional.
21405         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21406         conditional code.
21407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21408         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21409         code unconditional.
21410         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21411         conditional code.
21412         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21413         unconditional.
21414         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21415         conditional code.
21416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21417         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21418         code unconditional.
21419         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21420         conditional code.
21421         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21422         unconditional.
21423         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21424         conditional code.
21426 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21428         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21429         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21430         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21431         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21432         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21433         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21434         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21435         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21436         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21437         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21438         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21439         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21440         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21441         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21442         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21443         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21444         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21445         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21446         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21448         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21449         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21450         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21452 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21454         * Versions.def: Add GLIBC_2.17.
21455         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21456         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21457         Introduce __libc_secure_getenv.
21458         * stdlib/Versions (2.17): Add secure_getenv
21459         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21460         * stdlib/secure-getenv.c: Rename __secure_getenv to
21461         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21462         symbol __secure_getenv for GLIBC_2.0.
21463         * stdlib/tst-secure-getenv.c: New.
21464         * stdlib/Makefile (tests): Add testcase.
21465         * manual/startup.texi (Environment Access): Document
21466         secure_getenv.
21467         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21468         __libc_secure_getenv.
21469         * inet/ruserpass.c (ruserpass): Likewise.
21470         * malloc/mtrace.c (mtrace): Likewise.
21471         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21472         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21473         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21474         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21475         HAVE_SECURE_GETENV.
21476         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21477         __secure_getenv to __libc_secure_getenv.
21478         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21480         Likewise.
21481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21482         Likewise.
21483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21485         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21491 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21493         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21494         (struct La_i86_retval): Likewise.
21495         (struct La_x86_64_regs): Likewise.
21496         (struct La_x86_64_retval): Likewise.
21497         (struct La_x32_regs): Likewise.
21498         (struct La_x32_retval): Likewise.
21499         (struct La_ppc32_regs): Likewise.
21500         (struct La_ppc32_retval): Likewise.
21501         (struct La_ppc64_regs): Likewise.
21502         (struct La_ppc64_retval): Likewise.
21503         (struct La_sh_regs): Likewise.
21504         (struct La_sh_retval): Likewise.
21505         (struct La_s390_32_regs): Likewise.
21506         (struct La_s390_32_retval): Likewise.
21507         (struct La_s390_64_regs): Likewise.
21508         (struct La_s390_64_retval): Likewise.
21509         (struct La_sparc32_regs): Likewise.
21510         (struct La_sparc32_retval): Likewise.
21511         (struct La_sparc64_regs): Likewise.
21512         (struct La_sparc64_retval): Likewise.
21513         (struct audit_ifaces): Remove architecture-specific pltenter and
21514         pltexit members.
21515         * sysdeps/i386/ldsodefs.h: New file.
21516         * sysdeps/powerpc/ldsodefs.h: Likewise.
21517         * sysdeps/s390/ldsodefs.h: Likewise.
21518         * sysdeps/sh/ldsodefs.h: Likewise.
21519         * sysdeps/sparc/ldsodefs.h: Likewise.
21520         * sysdeps/x86_64/ldsodefs.h: Likewise.
21522 2012-07-25  Marek Polacek  <polacek@redhat.com>
21524         [BZ #6808]
21525         * math/libm-test.inc (yn_test): Add another test.
21526         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21527         to ERANGE when the result is +-Inf.
21528         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21529         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21530         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21531         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21533 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21535         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21536         equal to 0.
21537         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21538         clock_t.
21539         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21541 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21543         * configure.in <sysdeps resolving>: Correct printing
21544         Implies_before.
21545         * configure: Regenerate.
21547 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21549         * math/w_ilogb.c: Include <limits.h>.
21550         * math/w_ilogbl.c: Likewise.
21552 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21554         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21555         va_copy.  Document allowing for unavailable va_copy only as
21556         pre-C99 compatibility.
21557         * manual/string.texi (Copying and Concatenation): Use va_copy
21558         instead of __va_copy in concat example.
21560 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21562         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21563         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21564         it if not null.
21566         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21567         with O_NOLINK passed to __file_name_lookup.
21569         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21570         with O_NOLINK passed to __file_name_lookup.
21572         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21573         negative N or less than NGIDS.
21575         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21576         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21577         enough.  Use memcpy instead of strncpy.
21579 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21581         * elf/Makefile (check-data): Remove.
21582         (localplt.data): New vpath directive.
21583         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21584         instead of $(check-data).
21585         * scripts/data/localplt-generic.data: Move to ...
21586         * sysdeps/generic/localplt.data: ... here.
21587         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21588         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21589         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21591         ... here.
21592         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21594         ... here.
21595         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21597         ... here.
21598         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21600         ... here.
21601         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21603         ... here.
21604         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21606         ... here.
21608 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21610         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21611         PPC32 and PPC64 files.
21612         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21613         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21615 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21617         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21618         __makecontext_ret to ...
21619         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21620         ... here and call exit if uc_link is NULL.  New file.
21621         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21622         __makecontext_ret.S.
21623         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21624         __makecontext_ret to ...
21625         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21626         ... here and call exit if uc_link is NULL.  New file.
21627         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21628         __makecontext_ret.S.
21630 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21632         * elf/elf.h (R_390_IRELATIVE): New definition.
21633         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21634         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21635         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21636         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21637         (elf_machine_lazy_rel): Likewise.
21638         * sysdeps/s390/dl-irel.h: New file.
21639         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21640         * sysdeps/s390/s390-64/memset.S: New asm code.
21641         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21642         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21643         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21644         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21645         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21646         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21647         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21648         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21649         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21650         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21651         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21652         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21653         * sysdeps/s390/s390-32/memset.S: New asm code.
21654         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21656 2012-07-17  Marek Polacek  <polacek@redhat.com>
21658         [BZ #14349]
21659         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21660         * sysdeps/s390/s390-64/configure.in: Likewise.
21661         * sysdeps/sparc/configure.in: Likewise.
21662         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21663         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21664         * sysdeps/i386/configure.in: Likewise.
21665         * sysdeps/x86_64/configure.in: Likewise.
21666         * sysdeps/sh/configure.in: Likewise.
21667         * sysdeps/s390/s390-32/configure: Regenerated.
21668         * sysdeps/s390/s390-64/configure: Likewise.
21669         * sysdeps/x86_64/configure: Likewise.
21670         * sysdeps/sh/configure: Likewise.
21671         * sysdeps/powerpc/powerpc64/configure: Likewise.
21672         * sysdeps/powerpc/powerpc32/configure: Likewise.
21673         * sysdeps/sparc/configure: Likwise.
21674         * sysdeps/i386/configure: Likewise.
21676         * elf/dl-open.c: Comment fixes.
21678 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21680         * Makefile [CXX] (check-data): Remove.
21681         [CXX] (c++-types.data): New vpath directive.
21682         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21683         vpath.  Do not allow for C++ type data being missing.
21684         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21685         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21686         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21687         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21688         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21689         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21690         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21692         ... here.
21693         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21695         ... here.
21696         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21698         ... here.
21699         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21701         ... here.
21702         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21704         ... here.
21705         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21707         ... here.
21708         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21710         ... here.
21711         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21714         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21715         definitions to architecture-specific files.
21716         (TLS_IE): Likewise.
21717         (TLS_LD): Likewise.
21718         (TLS_GD): Likewise.
21719         * sysdeps/i386/tls-macros.h: New file.
21720         * sysdeps/powerpc/tls-macros.h: Likewise.
21721         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21722         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21723         * sysdeps/sh/tls-macros.h: Likewise.
21724         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21725         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21726         * sysdeps/x86_64/tls-macros.h: Likewise.
21728 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21730         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21731         zero value for regular exit case.
21733         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21734         (__start_context): Preserve zero value for regular exit case.
21736 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21737             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21739         * manual/setjmp.texi (setcontext): Clarify normal process
21740         termination when uc_link is the null pointer.
21741         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21742         exit call.
21744 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21746         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21747         preprocessor.  Test for each exception mask separately.
21749 2012-07-16  Andreas Jaeger  <aj@suse.de>
21751         * po/ru.po: Update from translation team.
21753 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21755         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21756         equal to 0.
21757         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21758         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21759         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21760         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21761         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21763 2012-07-13  Andreas Jaeger  <aj@suse.de>
21765         * po/fr.po: Update from translation team.
21767 2012-07-12  Marek Polacek  <polacek@redhat.com>
21769         [BZ #14173]
21770         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21771         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21772         loop condition.
21774 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21776         [BZ #13717]
21777         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21778         Change to 2.4.1 where previously 2.4.0.
21779         * sysdeps/unix/sysv/linux/configure: Regenerated.
21780         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21781         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21782         version.
21783         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21784         (__ASSUME_AT_CLKTCK): Remove.
21785         (__ASSUME_AT_PAGESIZE): Likewise.
21786         (__ASSUME_AT_XID): Likewise.
21787         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21788         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21789         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21790         unconditionally.
21791         (HAVE_AUX_PAGESIZE): Likewise.
21792         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21793         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21794         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21796 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21798         [BZ #14307]
21799         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21800         the temporary buffer used to invoke __gethostbyname2_r,
21801         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21802         host_data / struct gaih_addrtuple.
21803         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21804         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21805         header file nss/nsswitch.h.
21806         * nss/nsswitch.h (global scope): Add definition of implementation
21807         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21808         resolv/nss_dns/dns-host.c).
21810 2012-07-11  Andreas Jaeger  <aj@suse.de>
21812         * po/fr.po: Update from translation team.
21814         * po/sv.po: Update from translation team
21815         * po/fr.po: Another update from translation team.
21817 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21819         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21820         for subnormals or multiply small sinh result by itself.
21821         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21824 2012-07-11  David S. Miller  <davem@davemloft.net>
21826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21828 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21830         [BZ #14347]
21831         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21832         (INTERNAL_MARK): Shift it here.
21834 2012-07-10  Marek Polacek  <polacek@redhat.com>
21836         [BZ #14151]
21837         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21838         libc_cv_asm_global_directive with .globl.
21839         * configure: Regenerated.
21840         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21841         with .globl.
21842         * sysdeps/i386/configure: Regenerated.
21843         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21844         with .globl.
21845         * sysdeps/x86_64/configure: Regenerated.
21846         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21847         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21848         * elf/tst-unique2mod2.c: Likewise.
21849         * elf/tst-unique2mod1.c: Likewise.
21850         * elf/tst-unique1mod2.c: Likewise.
21851         * elf/tst-unique1mod1.c: Likewise.
21852         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21853         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21854         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21855         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21856         * sysdeps/mach/sysdep.h: Likewise.
21857         * sysdeps/i386/sysdep.h: Likewise.
21858         * sysdeps/i386/i386-mcount.S: Likewise.
21859         * sysdeps/x86_64/_mcount.S: Likewise.
21860         * sysdeps/x86_64/sysdep.h: Likewise.
21861         * sysdeps/sh/_mcount.S: Likewise.
21862         * sysdeps/sh/sysdep.h: Likewise.
21863         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21864         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21865         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21866         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21867         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21868         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21869         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21870         * locale/localeinfo.h: Likewise.
21871         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21872         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21874 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21876         [BZ #14336]
21877         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21878         system".
21879         * manual/message.texi (The Uniforum approach): Likewise.
21880         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21881         (glibc iconv Implementation): Likewise.
21883 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21885         [BZ #14337]
21886         * math/s_clog.c (__clog): Avoid scaling a value down where that
21887         could result in underflow.
21888         * math/s_clog10.c (__clog10): Likewise.
21889         * math/s_clog10f.c (__clog10f): Likewise.
21890         * math/s_clog10l.c (__clog10l): Likewise.
21891         * math/s_clogf.c (__clogf): Likewise.
21892         * math/s_clogl.c (__clogl): Likewise.
21893         * math/libm-test.inc (clog_test): Add more tests.
21894         (clog10_test): Likewise.
21895         * sysdeps/i386/fpu/libm-test-ulps: Update.
21896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21898 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21900         [BZ #14283]
21901         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21902         by 7 not 8 to examine high bit of fractional part.
21904         [BZ #14042]
21905         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21906         for call to __mcount_internal.
21907         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21908         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21909         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21911 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21913         [BZ #14154]
21914         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21915         approximation for values within 0x1p-13f of an odd multiple of
21916         pi/4.
21917         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21918         exception.  Add more tests.
21919         * sysdeps/i386/fpu/libm-test-ulps: Update.
21921         [BZ #6778]
21922         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21923         inputs and return -1 for them.  Do not check for +Inf in case not
21924         reachable for +Inf.
21925         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21926         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21927         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21928         and return -1 for them.  Do not check for +Inf in case not
21929         reachable for +Inf.
21930         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21931         define.
21932         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21933         and return -1 for them.  Do not check for +Inf in case not
21934         reachable for +Inf.
21935         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21936         spurious underflow.
21937         * sysdeps/i386/fpu/libm-test-ulps: Update.
21938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21940 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21942         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21944 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21946         [BZ #14157]
21947         [BZ #14331]
21948         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21949         could result in spurious underflow.  Scale down values above
21950         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21951         * math/s_csqrtf.c (__csqrtf): Likewise.
21952         * math/s_csqrtl.c (__csqrtl): Likewise.
21953         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21954         spurious underflow.
21955         * sysdeps/i386/fpu/libm-test-ulps: Update.
21956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21958 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21960         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21961         xopen-msg.sed.
21962         * catgets/xopen-msg.awk: New file.
21963         * catgets/xopen-msg.sed: Removed.
21965         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21966         po2text.sed.
21967         * intl/po2test.awk: New file.
21968         * intl/po2test.sed: Removed.
21970 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21972         [BZ #14328]
21973         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21974         or multiply small sinh result by itself.
21975         * math/s_ctanf.c (__ctanf): Likewise.
21976         * math/s_ctanh.c (__ctanh): Likewise.
21977         * math/s_ctanhf.c (__ctanhf): Likewise.
21978         * math/s_ctanhl.c (__ctanhl): Likewise.
21979         * math/s_ctanl.c (__ctanl): Likewise.
21980         * math/libm-test.inc (ctan_test_tonearest): New function.
21981         (ctan_test_towardzero): Likewise.
21982         (ctan_test_downward): Likewise.
21983         (ctan_test_upward): Likewise.
21984         (ctanh_test_tonearest): Likewise.
21985         (ctanh_test_towardzero): Likewise.
21986         (ctanh_test_downward): Likewise.
21987         (ctanh_test_upward): Likewise.
21988         (main): Call these new functions.
21989         * sysdeps/i386/fpu/libm-test-ulps: Update.
21990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21992 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21994         * .gitignore: Delete /ports entry.
21996 2012-07-03  Andreas Jaeger  <aj@suse.de>
21998         * po/bg.po: Update from translation team.
21999         * po/cs.po: Likewise.
22000         * po/de.po: Likewise.
22001         * po/hr.po: Likewise.
22002         * po/nl.pl: Likewise.
22003         * po/pl.po: Likewise.
22004         * po/vi.po: Likewise.
22006 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22008         * Makeconfig [!+link] (+link-before-libc): New variable.
22009         [!+link] (+link-after-libc): Likewise.
22010         [!+link] (+link-tests): Likewise.
22011         [!+link] (+link): Define in terms of $(+link-before-libc) and
22012         $(+link-after-libc).
22013         [!+link-static] (+link-static-before-libc): New variable.
22014         [!+link-static] (+link-static-after-libc): Likewise.
22015         [!+link-static] (+link-static-tests): Likewise.
22016         [!+link-static] (+link-static): Define in terms of
22017         $(+link-static-before-libc) and $(+link-static-after-libc).
22018         [build-shared] (link-libc-before-gnulib): New variable.
22019         [build-shared] (link-libc-tests): Likewise.
22020         [build-shared] (link-libc): Define in terms of
22021         $(link-libc-before-gnulib).
22022         [!build-shared] (link-libc-tests): New variable.
22023         (link-libc-static-tests): New variable.
22024         [!gnulib] (gnulib-arch): New variable.
22025         [!gnulib] (gnulib-tests): Likewise.
22026         [!gnulib] (static-gnulib-arch): Likewise.
22027         [!gnulib] (static-gnulib-tests): Likewise.
22028         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22029         Define with "=" instead of ":=".
22030         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22031         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22032         * Rules (binaries-all-notests): New variable.
22033         (binaries-all-tests): Likewise.
22034         (binaries-static-notests): Likewise.
22035         (binaries-static-tests): Likewise.
22036         (binaries-all): Define using $(binaries-all-notests) and
22037         $(binaries-all-tests).
22038         (binaries-static): Define using $(binaries-static-notests) and
22039         $(binaries-static-tests).
22040         (binaries-shared-tests): New variable.
22041         (binaries-shared-notests): Likewise.
22042         (binaries-shared): Remove variable.
22043         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22044         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22045         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22046         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22047         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22048         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22049         * elf/Makefile (sln-modules): New variable.
22050         (extra-objs): Add $(sln-modules:=.o).
22051         (ldconfig-modules): Add static-stubs.
22052         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22053         * elf/static-stubs.c: New file.
22055         [BZ #14283]
22056         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22057         by 7 not 8 to examine high bit of fractional part.  Use volatile
22058         variables when splitting into final array of floats if
22059         __FLT_EVAL_METHOD__ != 0.
22060         * math/libm-test.inc (cos_test): Add another test.
22061         (sin_test): Likewise.
22062         * sysdeps/i386/fpu/libm-test-ulps: Update.
22064         [BZ #14273]
22065         * math/libm-test.inc (cosh_test): Add more tests.
22067         * version.h (RELEASE): Set to "development".
22068         (VERSION): Set to "2.16.90".
22070 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22072         * NEWS: Update copyright. Remove last-updated date.
22073         Mention math library bug fixes and timezone data changes.
22074         * README: Mention GNU/Hurd, x32, and HPPA support status.
22076 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22078         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22080 2012-06-27  Andreas Jaeger  <aj@suse.de>
22082         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22084 2012-06-25  Andreas Jaeger  <aj@suse.de>
22086         * sysdeps/s390/fpu/libm-test-ulps: Update.
22088 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22089             Thomas Schwinge  <thomas@codesourcery.com>
22091         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22092         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22093         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22094         fanotify_mark.
22096 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22098         * sysdeps/mach/start.c: Remove file.
22099         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22100         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22101         * sysdeps/sh/init-first.c: Likewise.
22103         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22104         registers for frame unwinding purposes, add CFI directives.
22105         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22106         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22107         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22108         Likewise.
22110         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22111         __fortify_fail returning.
22112         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22114         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22115         sysdeps/sh/____longjmp_chk.S.
22116         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22117         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22118         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22119         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22121         * sysdeps/sh/abort-instr.h: New file.
22122         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22123         process in case exit returns.
22125         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22126         initialize the GOT register before use.
22128         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22129         calculation of ARGC > 4.
22131         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22132         meaningful names to some local labels.
22134 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22135             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22137         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22138         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22139         (__arch_compare_and_exchange_val_16_acq): Likewise.
22140         (__arch_compare_and_exchange_val_32_acq): Likewise.
22141         (atomic_exchange_and_add): Fix gUSA sequence.
22142         (atomic_add): Likewise.
22143         (atomic_add_negative): Likewise.
22144         (atomic_add_zero): Likewise.
22145         (atomic_bit_test_set): Likewise.
22147 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22149         [BZ #13579]
22150         * include/link.h (struct link_map): Add l_free_initfini.
22151         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22152         l_initfini.
22153         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22154         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22155         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22156         set.
22158 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22160         * configure.in: Use AC_LANG_SOURCE.
22161         * configure: Regenerate.
22163 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22165         * configure.in (libc_cv_localstatedir): New substituted variable.
22166         * configure: Regenerated.
22167         * config.make.in (localstatedir): New variable, substituted from
22168         libc_cv_localstatedir.
22169         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22170         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22171         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22172         * sysdeps/gnu/configure: Regenerated.
22174 2012-06-21  Jeff Law  <law@redhat.com>
22176         [BZ #14277]
22177         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22178         free.  Simplify list management for _LIBC case.
22180 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22182         [BZ #14273]
22183         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22184         Clear sign bit of 64-bit integer value before comparing against
22185         overflow value.
22187         * sysdeps/mach/configure: Regenerated.
22189 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22191         [BZ #14278]
22192         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22194 2012-06-21  Jeff Law  <law@redhat.com>
22196         [BZ #13882]
22197         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22198         uint16_t for elements in the "seen" array to avoid char overflows.
22199         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22200         * elf/dl-open.c (dl_open_worker): Likewise.
22202 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22204         * scripts/list-sources.sh: Scan PORTS for translations.
22205         * po/libc.pot: Regenerated.
22207 2012-06-21  Andreas Jaeger  <aj@suse.de>
22209         [BZ #12194]
22210         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22211         warning.
22212         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22213         * bits/byteswap-16.h (__bswap_16): Likewise.
22214         * bits/byteswap.h (__bswap_constant_16): Likewise.
22216 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22218         [BZ #14117]
22219         * sysdeps/i386/fpu_control.h: Removed.
22220         * sysdeps/x86_64/fpu_control.h: Moved to ...
22221         * sysdeps/x86/fpu_control.h: Here.
22223         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22224         (_FPU_SETCW): Likewise.
22226 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22228         [BZ #14117]
22229         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22230         * sysdeps/x86/fpu/bits/mathinline.h: This.
22231         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22233         [BZ #14050]
22234         [BZ #14117]
22235         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22236         functions if __x86_64__ is defined.
22238 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22240         * string/endian.h: Add !__ASSEMBLER__ condition for including
22241         conversion interfaces.
22243 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22245         [BZ #14241]
22246         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22247         of ABS(x) in calculating zero to negative powers other than odd
22248         integers.
22249         * math/libm-test.inc (pow_test): Add more tests.
22251 2012-06-15  Andreas Jaeger  <aj@suse.de>
22253         * manual/contrib.texi (Contributors): Update entry of Liubov
22254         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22255         Machado Filho.
22257 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22259         * string/string.h: Add __wur to GNU version of strerror_r.
22261 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22263         [BZ #14229]
22264         * string/Makefile (tests): Add tst-strtok_r.
22265         * string/tst-strtok_r.c: New file.
22266         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22267         RAX_LP/RDX_LP on SAVE_PTR.
22269 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22271         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22273 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22275         * libm_test.inc (csqrt_test): Allow more spurious underflow
22276         exceptions.
22277         (j0_test): Likewise.
22278         (j1_test): Likewise.
22279         (y0_test): Likewise.
22280         (y1_test): Likewise.
22282 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22284         * po/Makefile (libc.pot): Use UTF-8 charset.
22286 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22288         [BZ #14210]
22289         Suppress sign-conversion warning from FD_SET.
22290         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22291         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22292         not unsigned long int.
22293         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22295 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22297         [BZ #14050]
22298         [BZ #14117]
22299         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22300         __extern_always_inline instead of __extern_inline.
22301         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22302         (__signbit): Likewise.
22303         (__signbitl): Support C++ namespace.
22304         (lrintf): New inline function.
22305         (lrint): Likewise.
22306         (llrintf): Likewise.
22307         (llrint): Likewise.
22308         (fmaxf): Likewise.
22309         (fmax): Likewise.
22310         (fminf): Likewise.
22311         (fmin): Likewise.
22312         (rint): Likewise.
22313         (rintf): Likewise.
22314         (ceil): Likewise.
22315         (ceilf): Likewise.
22316         (floor): Likewise.
22317         (floorf): Likewise.
22318         (nearbyint): Likewise.
22319         (nearbyintf): Likewise.
22321 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22323         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22324         non-default versions.
22326 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22328         [BZ #14218]
22329         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22331 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22333         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22334         (FE_UPWARD, FE_DOWNWARD): Don't define.
22335         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22336         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22338         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22339         reading it.
22340         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22341         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22343 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22345         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22346         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22347         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22348         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22350 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22352         [BZ #14117]
22353         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22354         * sysdeps/i386/fpu/Implies: New file.
22355         * sysdeps/x86_64/fpu/Implies: Likewise.
22356         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22357         * sysdeps/x86/fpu/bits/fenv.h: This.
22359         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22360         __SSE_MATH__.
22362 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22364         [BZ #14134]
22365         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22366         character 0xffff that matches the last element of the
22367         conversion table.
22369 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22371         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22372         fmodl commit.
22374 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22376         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22377         values higher than 25.6283.
22379 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22381         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22382         subnormal exponent extraction and add some __builtin_expect.
22383         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22384         Fix for subnormal mantissa calculation.
22386 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22388         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22389         cpu2 is -1 and errno is not ENOSYS.
22391 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22393         [BZ #14117]
22394         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22395         * sysdeps/x86/bits/string.h: This.
22396         * sysdeps/x86_64/bits/string.h: Removed.
22398         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22399         if not compiling for x86-64, but compiling for >= i486.
22401         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22402         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22404         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22405         New macro from Linux kernel 3.4.0.
22406         (FP_XSTATE_MAGIC2): Likewise.
22407         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22408         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22409         (struct _fpx_sw_bytes): New struct.
22410         (struct _xsave_hdr): Likewise.
22411         (struct _ymmh_state): Likewise.
22412         (struct _xstate): Likewise.
22414         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22415         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22416         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22417         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22418         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22419         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22421         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22422         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22423         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22424         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22425         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22426         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22428 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22430         [BZ #13743]
22431         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22432         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22433         (sysdep_headers): Include sys/platform/ppc.h.
22434         * sysdeps/powerpc/test-gettimebase.c: Test for
22435         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22436         * manual/Makefile (appendices): Include platform.texi.
22437         * manual/contrib.texi (Contributors): Update @node pointers.
22438         * manual/maint.texi (Maintenance): Likewise.
22439         (Platform): New node.
22440         * manual/platform.texi: New file.  Document the new features.
22442 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22443             Jakub Jelinek  <jakub@redhat.com>
22445         [BZ #14188]
22446         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22447         where __builtin_expect is unavailable.
22449 2012-06-03  David S. Miller  <davem@davemloft.net>
22451         * stdlib/longlong.h: Updated from GCC.
22453 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22455         [BZ #14042]
22456         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22457         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22458         __mcount_internal.
22459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22460         (GLIBC_2.16): Likewise.
22462 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22464         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22466 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22469         (default-abi): New variable.
22470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22471         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22472         variable.
22473         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22474         Likewise.
22475         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22476         Likewise.
22477         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22478         Likewise.
22480         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22481         definition.  Document in comment.
22483 2012-06-01  David S. Miller  <davem@davemloft.net>
22485         * stdlib/longlong.h: Updated from GCC.
22487 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22489         [BZ #14117]
22490         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22491         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22492         sys/debugreg.h sys/io.h here.
22493         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22494         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22495         sys/io.h.
22496         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22497         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22498         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22499         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22500         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22501         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22503         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22504         Define only if __x86_64__ is defined.
22506 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22508         [BZ #14048]
22509         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22510         Use int64_t for variable i.
22511         * math/libm-test.inc (fmod_test): Add more tests.
22513         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22514         z computation is not scheduled after fetestexcept.
22515         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22516         Use math_force_eval instead of asm to ensure calculation scheduled
22517         before exception test.
22518         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22519         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22521 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22524         computation is not scheduled after fetestexcept.
22526 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22528         [BZ #14117]
22529         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22530         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22532 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22534         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22535         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22537 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22539         [BZ #14117]
22540         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22541         <bits/wordsize.h>.
22542         (__WCHAR_MIN): Support __WORDSIZE == 64.
22543         (__WCHAR_MAX): Likewise.
22545         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22546         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22548         [BZ #14183]
22549         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22550         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22552         [BZ #14117]
22553         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22554         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22556         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22557         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22559         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22560         Defined to 1 if __x86_64__ isn't defined.
22561         (_STAT_VER_LINUX_OLD): New.
22562         (st_atime): Remove duplicate.
22563         (st_mtime): Likewise.
22564         (st_ctime): Likewise.
22566 2012-05-31  David S. Miller  <davem@davemloft.net>
22568         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22569         entries.
22571 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22573         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22574         gen-libm-test.pl.
22576         [BZ #14132]
22577         * elf/dl-reloc.c: Include <_itoa.h>.
22578         (_dl_reloc_bad_type): Remove use of INTUSE.
22579         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22580         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22581         * stdio-common/psiginfo.c (psiginfo): Likewise.
22582         * stdio-common/psignal.c (psignal): Likewise.
22583         * string/strsignal.c (strsignal): Likewise.
22584         * include/signal.h (_sys_siglist): Declare hidden proto.
22585         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22586         INTVARDEF with libc_hidden_data_def.
22587         * stdio-common/itoa-udigits.c: Likewise.
22588         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22589         (_itoa_lower_digits_internal): Remove declaration.
22590         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22591         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22592         (_sys_sigabbrev_internal): Remove aliases.
22593         (_sys_siglist): Define hidden alias.
22595 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22597         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22598         bits/sysctl.h.
22600 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22602         [BZ #14117]
22603         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22604         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22606         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22607         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22608         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22609         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22610         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22611         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22613         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22614         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22615         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22617         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22618         with __addr.
22619         (insw): Likewise.
22620         (insl): Likewise.
22621         (outsb): Likewise.
22622         (outsw): Likewise.
22623         (outsl): Likewise.
22625         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22626         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22627         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22629         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22630         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22631         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22632         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22633         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22634         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22636         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22637         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22639         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22640         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22642         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22643         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22644         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22646         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22647         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22648         to ...
22649         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22651         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22652         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22653         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22655         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22656         for x86-64.
22657         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22659 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22661         * math/math.h (M_El): Use two more decimal places.
22662         (M_LOG2El): Likewise.
22663         (M_LOG10El): Likewise.
22664         (M_LN2l): Likewise.
22665         (M_LN10l): Likewise.
22666         (M_PIl): Likewise.
22667         (M_PI_2l): Likewise.
22668         (M_PI_4l): Likewise.
22669         (M_1_PIl): Likewise.
22670         (M_2_PIl): Likewise.
22671         (M_2_SQRTPIl): Likewise.
22672         (M_SQRT2l): Likewise.
22673         (M_SQRT1_2l): Likewise.
22675 2012-05-31  David S. Miller  <davem@davemloft.net>
22677         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22678         values between float registers.
22679         * sysdeps/sparc/sparc64/memset.S: Likewise.
22680         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22682 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22684         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22685         -D_FORTIFY_SOURCE=1.
22686         (CPPFLAGS-tst-longjmp_chk.c): Define.
22687         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22688         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22689         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22690         CFLAGS-tst-wchar-h.c.
22692 2012-05-31  Marek Polacek  <polacek@redhat.com>
22694         [BZ #14132]
22695         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22696         __endmntent_internal): Remove declaration.
22697         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22698         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22699         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22701 2012-05-30  David S. Miller  <davem@davemloft.net>
22703         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22704         (___Q_simulate_exceptions): Use real FP ops rather than writing
22705         into the %fsr.
22706         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22707         Likewise.
22709 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22711         [BZ #14117]
22712         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22713         * sysdeps/x86/bits/xtitypes.h: This.
22715         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22716         * sysdeps/x86/bits/wordsize.h: This.
22718         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22719         * sysdeps/x86/bits/huge_vall.h: This.
22721         * sysdeps/i386/bits/select.h: Removed.
22722         * sysdeps/x86_64/bits/select.h: Renamed to ...
22723         * sysdeps/x86/bits/select.h: This.
22725         * sysdeps/i386/bits/setjmp.h: Removed.
22726         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22727         * sysdeps/x86/bits/setjmp.h: This.
22729         * sysdeps/i386/bits/mathdef.h: Removed.
22730         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22731         * sysdeps/x86/bits/mathdef.h: This.
22733 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22735         [BZ #14132]
22736         * include/sys/socket.h (__connect_internal)
22737         (__libc_sa_len_internal): Remove declaration.
22738         (__connect, __libc_sa_len): Declare hidden_proto.
22739         (SA_LEN): Remove use of INTUSE.
22740         * socket/connect.c: Add libc_hidden_def.
22741         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22742         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22743         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22744         alias.
22745         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22746         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22747         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22748         of adding _internal alias.
22750 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22752         [BZ #14117]
22753         * sysdeps/i386/bits/link.h: Removed.
22754         * sysdeps/i386/bits/linkmap.h: Likewise.
22755         * sysdeps/x86_64/bits/link.h: Renamed to ...
22756         * sysdeps/x86/bits/link.h: This.
22757         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22758         * sysdeps/x86/bits/linkmap.h: This.
22760         * sysdeps/i386/bits/endian.h: Removed.
22761         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22762         * sysdeps/x86/bits/endian.h: This.
22764         * sysdeps/i386/bits/byteswap.h: Removed.
22765         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22766         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22767         * sysdeps/x86/bits/byteswap.h: This.
22768         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22769         * sysdeps/x86/bits/byteswap-16.h: This.
22770         * sysdeps/i386/Implies: Add x86.
22771         * sysdeps/x86_64/Implies: Likewise.
22773 2012-05-30  David S. Miller  <davem@davemloft.net>
22775         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22776         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22777         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22778         (FP_TRAPPING_EXCEPTIONS): Define.
22779         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22780         (FP_TRAPPING_EXCEPTIONS): Define.
22781         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22782         subnormals only when inexact has been signalled or underflow
22783         exceptions are enabled.
22784         (_FP_PACK_CANONICAL): Likewise.
22786 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22788         [BZ #14183]
22789         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22790         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22792 2012-05-30  Richard Henderson  <rth@twiddle.net>
22794         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22795         with #ifndef NOT_IN_libc.
22797         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22798         marked to avoid plt entry.
22800 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22802         [BZ #14112]
22803         * Makeconfig (default-abi): New macro.
22804         (abi-includes): Likewise.
22805         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22806         $(abi-$(default-abi)-lib-soname) for soname if defined.
22807         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22808         abi-variants.
22809         * Makefile (installed-stubs): Likewise.
22810         * include/stubs-biarch.h: Removed.
22811         * scripts/lib-names.awk: Only handle one library at a time.
22812         * scripts/soversions.awk: Remove WORDSIZE support.
22813         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22814         entries.
22815         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22816         Removed.
22817         (syscall-list-default-condition): Likewise.
22818         (syscall-list-default-condition): Likewise.
22819         (syscall-list-includes): Likewise.
22820         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22821         syscall-list-* with abi-*.  Handle undefined abi-variants.
22822         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22823         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22824         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22825         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22826         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22827         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22828         Removed.
22829         (syscall-list-32-options): Likewise.
22830         (syscall-list-32-condition): Likewise.
22831         (syscall-list-64-options): Likewise.
22832         (syscall-list-64-condition): Likewise.
22833         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22834         macro.
22835         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22836         Renamed to ...
22837         (abi-*): This.
22838         (abi-64-ld-soname): New macro.
22839         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22840         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22841         Renamed to ...
22842         (abi-*): This.
22843         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22844         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22846 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22848         * sysdeps/unix/sysv/linux/kernel-features.h
22849         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22850         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22851         include <kernel-features.h>.
22852         [!__NR_ftruncate64]: Remove conditional code.
22853         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22854         [__NR_ftruncate64]: Make code unconditional.
22855         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22856         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22857         include <kernel-features.h>.
22858         [!__NR_ftruncate64]: Remove conditional code.
22859         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22860         [__NR_ftruncate64]: Make code unconditional.
22861         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22863         include <kernel-features.h>.
22864         [!__NR_ftruncate64]: Remove conditional code.
22865         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22866         [__NR_ftruncate64]: Make code unconditional.
22867         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22869         include <kernel-features.h>.
22870         [!__NR_ftruncate64]: Remove conditional code.
22871         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22872         [__NR_ftruncate64]: Make code unconditional.
22873         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22875         * configure.in (libc_cv_fpie): Weaken to a compile test using
22876         LIBC_TRY_CC_OPTION.
22877         * configure: Regenerated.
22879 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22885         Refreshed.
22886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22892         Refreshed.
22894 2012-05-27  David S. Miller  <davem@davemloft.net>
22896         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22897         (___Q_zero): New.
22898         (__Q_simulate_exceptions): Return void.  Change to simulate
22899         exceptions by writing into the %fsr.
22900         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22901         (__Qp_handle_exceptions): Likewise.
22902         (numbers): Delete.
22903         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22904         __Qp_handle_exceptions.
22905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22906         __Qp_handle_exceptions.
22907         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22908         as unused and give dummy FP_RND_NEAREST initializer.
22909         (FP_INHIBIT_RESULTS): Define.
22910         (___Q_simulate_exceptions): Update declaration.
22911         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22912         formatting.
22913         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22914         as unused and give dummy FP_RND_NEAREST initializer.
22915         (__Qp_handle_exceptions): Update declaration.
22916         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22917         formatting.
22919 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22921         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22922         the temporary FPU control word.
22923         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22924         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22925         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22926         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22927         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22928         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22929         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22930         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22931         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22932         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22933         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22935 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22937         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22938         fields.
22940 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22942         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22943         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22944         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22945         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22946         Likewise.
22947         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22948         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22949         Likewise.
22951 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22953         * po/h.po: Update from translation team.
22955 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22957         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22959         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22960         handling of denormals.
22961         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22962         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22963         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22964         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22965         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22967         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22968         Likewise.
22970 2012-05-26  Marek Polacek  <polacek@redhat.com>
22972         [BZ #14152]
22973         * math/libm-test.inc (fma_test): Don't always expect underflow
22974         exception.
22976 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22978         [BZ #12416]
22979         * elf/tst-execstack.c: Include stackinfo.h.
22980         (do_test): Adjust test case to ensure that pthread_getattr_np
22981         behaviour remains the same after marking stack executable.
22983 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22985         * sysdeps/unix/sysv/linux/kernel-features.h
22986         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22987         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22988         kernel-features.h.
22989         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22990         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22991         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22992         kernel-features.h.
22993         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22994         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22996 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22998         * configure.in: Define the default includes to being none.
22999         * configure: Regenerated.
23001 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23003         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23004         * sysdeps/x86_64/setjmp.S: Likewise.
23005         * sysdeps/i386/bsd-setjmp.S: Likewise.
23006         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23007         * sysdeps/i386/setjmp.S: Likewise.
23008         * sysdeps/i386/__longjmp.S: Likewise.
23009         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23010         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23012         * include/stap-probe.h: New file.
23013         * configure.in: Handle --enable-systemtap.
23014         * configure: Regenerated.
23015         * config.h.in (USE_STAP_PROBE): New #undef.
23016         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23017         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23018         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23020 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23022         [BZ #13717]
23023         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23024         to 2.4.0 where earlier.
23025         * sysdeps/unix/sysv/linux/configure: Regenerated.
23026         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23027         <kernel-features.h>.
23028         [__ASSUME_32BITUIDS]: Make code unconditional.
23029         [!__ASSUME_32BITUIDS]: Remove conditional code.
23030         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23031         <kernel-features.h>.
23032         [__ASSUME_32BITUIDS]: Make code unconditional.
23033         [!__ASSUME_32BITUIDS]: Remove conditional code.
23034         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23035         [__ASSUME_32BITUIDS]: Make code unconditional.
23036         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23037         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23038         <kernel-features.h>.
23039         [__ASSUME_32BITUIDS]: Make code unconditional.
23040         [!__ASSUME_32BITUIDS]: Remove conditional code.
23041         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23042         <kernel-features.h>.
23043         [__ASSUME_32BITUIDS]: Make code unconditional.
23044         [!__ASSUME_32BITUIDS]: Remove conditional code.
23045         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23046         <kernel-features.h>.
23047         [__ASSUME_32BITUIDS]: Make code unconditional.
23048         [!__ASSUME_32BITUIDS]: Remove conditional code.
23049         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23050         <kernel-features.h>.
23051         [__ASSUME_32BITUIDS]: Make code unconditional.
23052         [!__ASSUME_32BITUIDS]: Remove conditional code.
23053         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23054         <kernel-features.h>.
23055         [__ASSUME_32BITUIDS]: Make code unconditional.
23056         [!__ASSUME_32BITUIDS]: Remove conditional code.
23057         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23058         <kernel-features.h>.
23059         [__ASSUME_32BITUIDS]: Make code unconditional.
23060         [!__ASSUME_32BITUIDS]: Remove conditional code.
23061         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23062         <kernel-features.h>.
23063         [__ASSUME_32BITUIDS]: Make code unconditional.
23064         [!__ASSUME_32BITUIDS]: Remove conditional code.
23065         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23066         <kernel-features.h>.
23067         [__ASSUME_32BITUIDS]: Make code unconditional.
23068         [!__ASSUME_32BITUIDS]: Remove conditional code.
23069         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23070         <kernel-features.h>.
23071         [__ASSUME_32BITUIDS]: Make code unconditional.
23072         [!__ASSUME_32BITUIDS]: Remove conditional code.
23073         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23074         <kernel-features.h>.
23075         [__ASSUME_32BITUIDS]: Make code unconditional.
23076         [!__ASSUME_32BITUIDS]: Remove conditional code.
23077         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23078         <kernel-features.h>.
23079         [__NR_setresgid] (__setresgid): Do not declare.
23080         [__ASSUME_32BITUIDS]: Make code unconditional.
23081         [!__ASSUME_32BITUIDS]: Remove conditional code.
23082         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23083         <kernel-features.h>.
23084         [__NR_setresuid] (__setresuid): Do not declare.
23085         [__ASSUME_32BITUIDS]: Make code unconditional.
23086         [!__ASSUME_32BITUIDS]: Remove conditional code.
23087         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23088         <kernel-features.h>.
23089         [__ASSUME_32BITUIDS]: Make code unconditional.
23090         [!__ASSUME_32BITUIDS]: Remove conditional code.
23091         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23092         <kernel-features.h>.
23093         [__ASSUME_32BITUIDS]: Make code unconditional.
23094         [!__ASSUME_32BITUIDS]: Remove conditional code.
23095         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23096         <kernel-features.h>.
23097         [__ASSUME_32BITUIDS]: Make code unconditional.
23098         [!__ASSUME_32BITUIDS]: Remove conditional code.
23099         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23100         <kernel-features.h>.
23101         [__ASSUME_32BITUIDS]: Make code unconditional.
23102         [!__ASSUME_32BITUIDS]: Remove conditional code.
23103         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23104         <kernel-features.h>.
23105         [__ASSUME_32BITUIDS]: Make code unconditional.
23106         [!__ASSUME_32BITUIDS]: Remove conditional code.
23107         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23108         <kernel-features.h>.
23109         [__ASSUME_32BITUIDS]: Make code unconditional.
23110         [!__ASSUME_32BITUIDS]: Remove conditional code.
23111         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23112         <kernel-features.h>.
23113         [__ASSUME_32BITUIDS]: Make code unconditional.
23114         [!__ASSUME_32BITUIDS]: Remove conditional code.
23115         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23116         <kernel-features.h>.
23117         [__ASSUME_32BITUIDS]: Make code unconditional.
23118         [!__ASSUME_32BITUIDS]: Remove conditional code.
23119         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23120         <kernel-features.h>.
23121         [__ASSUME_32BITUIDS]: Make code unconditional.
23122         [!__ASSUME_32BITUIDS]: Remove conditional code.
23123         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23124         <kernel-features.h>.
23125         [__ASSUME_32BITUIDS]: Make code unconditional.
23126         [!__ASSUME_32BITUIDS]: Remove conditional code.
23127         * sysdeps/unix/sysv/linux/kernel-features.h
23128         (__ASSUME_SETRESUID_SYSCALL): Remove.
23129         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23130         (__ASSUME_32BITUIDS): Likewise.
23131         (__ASSUME_LDT_WORKS): Likewise.
23132         (__ASSUME_O_DIRECTORY): Likewise.
23133         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23134         architecture but not kernel version.
23135         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23136         (__ASSUME_MMAP2_SYSCALL): Likewise.
23137         (__ASSUME_STAT64_SYSCALL): Likewise.
23138         (__ASSUME_IPC64): Likewise.
23139         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23140         <kernel-features.h>.
23141         [__ASSUME_32BITUIDS]: Make code unconditional.
23142         [!__ASSUME_32BITUIDS]: Remove conditional code.
23143         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23144         <kernel-features.h>.
23145         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23146         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23147         132096]: Remove conditional code.
23148         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23149         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23150         <kernel-features.h>.
23151         [__ASSUME_32BITUIDS]: Make code unconditional.
23152         [!__ASSUME_32BITUIDS]: Remove conditional code.
23153         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23154         <kernel-features.h>.
23155         [__ASSUME_32BITUIDS]: Make code unconditional.
23156         [!__ASSUME_32BITUIDS]: Remove conditional code.
23157         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23158         <kernel-features.h>.
23159         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23160         unconditional.
23161         (__setresgid): Do not declare.
23162         [__ASSUME_32BITUIDS]: Make code unconditional.
23163         [!__ASSUME_32BITUIDS]: Remove conditional code.
23164         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23165         <kernel-features.h>.
23166         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23167         unconditional.
23168         (__setresuid): Do not declare.
23169         [__ASSUME_32BITUIDS]: Make code unconditional.
23170         [!__ASSUME_32BITUIDS]: Remove conditional code.
23171         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23172         <kernel-features.h>.
23173         [__ASSUME_32BITUIDS]: Make code unconditional.
23174         [!__ASSUME_32BITUIDS]: Remove conditional code.
23175         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23176         <kernel-features.h>.
23177         [__ASSUME_32BITUIDS]: Make code unconditional.
23178         [!__ASSUME_32BITUIDS]: Remove conditional code.
23180 2012-05-25  Richard Henderson  <rth@twiddle.net>
23182         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23183         dl_hwcap to ifunc resolver.
23184         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23185         elf_ifunc_invoke.
23186         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23187         dl_hwcap to ifunc resolver.
23188         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23190 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23192         [BZ #14153]
23193         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23194         for |x| <= 2**-26, not 2**-57.
23195         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23196         exception.
23198 2012-05-24  Jeff Law  <law@redhat.com>
23200         * stdio-common/Makefile (tests): Add bug25.
23201         * stdio-common/bug25.c: New test.
23203 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23205         [BZ #13576]
23206         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23207         multiple of MALLOC_ALIGNMENT in size.
23208         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23210 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23212         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23213         Require >= 256.
23214         (FILENAME_MAX): Use macro-int-constant.
23215         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23216         (_IOFBF): Use macro-int-constant.
23217         (_IOLBF): Likewise.
23218         (_IONBF): Likewise.
23219         (SEEK_CUR): Likewise.
23220         (SEEK_END): Likewise.
23221         (SEEK_SET): Likewise.
23222         (TMP_MAX): Likewise.
23223         (EOF): Use macro-int-constant.  Require < 0.
23224         (NULL): Use macro-constant.  Require == 0.
23225         (stdin): Require type to be FILE *.
23226         (stdout): Likewise.
23227         (stderr): Likewise.
23228         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23229         macro-int-constant.
23230         (EXIT_SUCCESS): Likewise.
23231         (NULL): Use macro-constant.  Require == 0.
23232         (RAND_MAX): Use macro-int-constant.
23233         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23234         [C99-based standards] (strtof): Require function.
23235         [C99-based standards] (strtold): Likewise.
23236         [C99-based standards] (strtoll): Likewise.
23237         [C99-based standards] (strtoull): Likewise.
23238         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23239         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23240         [ISO || ISO99 || ISO11] (math.h): Likewise.
23241         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23242         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23243         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23245 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23247         [BZ #14132]
23248         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23249         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23250         * intl/dgettext.c (DCGETTEXT): Likewise.
23251         * intl/gettext.c (DCGETTEXT): Likewise.
23252         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23253         * posix/regex_internal.h (gettext): Likewise.
23254         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23255         Remove declaration.
23256         * include/argz.h (__argz_count_internal)
23257         (__argz_stringify_internal): Remove declaration.
23258         (__argz_count, __argz_stringify): Declare hidden proto.
23259         * intl/dcgettext.c: Remove use of INTDEF.
23260         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23261         * string/argz-stringify.c: Likewise.
23262         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23263         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23264         Declare hidden proto.
23265         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23266         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23267         Declare hidden proto.
23268         * include/stdio.h (__asprintf_internal): Don't declare.
23269         (__asprintf): Don't define as macro.  Declare hidden proto.
23270         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23271         (__fsetlocking): Declare hidden proto.
23272         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23273         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23274         hidden proto.
23275         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23276         (_IO_setlinebuf): Remove use of INTUSE.
23277         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23278         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23279         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23280         Remove declaration.
23281         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23282         (_IO_do_flush): Remove use of INTUSE.
23283         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23284         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23285         (_IO_adjust_column, _IO_least_wmarker)
23286         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23287         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23288         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23289         (_IO_default_doallocate, _IO_wdefault_doallocate)
23290         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23291         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23292         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23293         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23294         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23295         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23296         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23297         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23298         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23299         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23300         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23301         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23302         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23303         proto.
23304         (_IO_flush_all_internal, _IO_adjust_column_internal)
23305         (_IO_default_uflow_internal, _IO_default_finish_internal)
23306         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23307         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23308         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23309         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23310         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23311         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23312         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23313         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23314         (_IO_file_close_internal, _IO_file_close_it_internal)
23315         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23316         (_IO_file_init_internal, _IO_file_attach_internal)
23317         (_IO_file_fopen_internal, _IO_file_read_internal)
23318         (_IO_file_sync_internal, _IO_file_seek_internal)
23319         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23320         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23321         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23322         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23323         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23324         (_IO_list_all_internal, _IO_link_in_internal)
23325         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23326         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23327         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23328         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23329         (_IO_do_write_internal, _IO_padn_internal)
23330         (_IO_getline_info_internal, _IO_getline_internal)
23331         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23332         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23333         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23334         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23335         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23336         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23337         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23338         with libc_hidden_ver, remove use of INTUSE.
23339         * libio/genops.c: Likewise.
23340         * libio/freopen.c: Likewise.
23341         * libio/freopen64.c: Likewise.
23342         * libio/iofclose.c: Likewise.
23343         * libio/iofdopen.c: Likewise.
23344         * libio/iofflush.c: Likewise.
23345         * libio/iofflush_u.c: Likewise.
23346         * libio/iofgets.c: Likewise.
23347         * libio/iofgets_u.c: Likewise.
23348         * libio/iofopen.c: Likewise.
23349         * libio/iofopncook.c: Likewise.
23350         * libio/iofread.c: Likewise.
23351         * libio/iofread_u.c: Likewise.
23352         * libio/ioftell.c: Likewise.
23353         * libio/iofwrite.c: Likewise.
23354         * libio/iogetline.c: Likewise.
23355         * libio/iogets.c: Likewise.
23356         * libio/iogetwline.c: Likewise.
23357         * libio/iopadn.c: Likewise.
23358         * libio/iopopen.c: Likewise.
23359         * libio/ioseekoff.c: Likewise.
23360         * libio/ioseekpos.c: Likewise.
23361         * libio/iosetbuffer.c: Likewise.
23362         * libio/iosetvbuf.c: Likewise.
23363         * libio/ioungetc.c: Likewise.
23364         * libio/ioungetwc.c: Likewise.
23365         * libio/iovdprintf.c: Likewise.
23366         * libio/iovsprintf.c: Likewise.
23367         * libio/iovsscanf.c: Likewise.
23368         * libio/memstream.c: Likewise.
23369         * libio/obprintf.c: Likewise.
23370         * libio/oldfileops.c: Likewise.
23371         * libio/oldiofclose.c: Likewise.
23372         * libio/oldiofdopen.c: Likewise.
23373         * libio/oldiofopen.c: Likewise.
23374         * libio/oldiopopen.c: Likewise.
23375         * libio/oldstdfiles.c: Likewise.
23376         * libio/putc.c: Likewise.
23377         * libio/setbuf.c: Likewise.
23378         * libio/setlinebuf.c: Likewise.
23379         * libio/stdfiles.c: Likewise.
23380         * libio/strops.c: Likewise.
23381         * libio/vasprintf.c: Likewise.
23382         * libio/vscanf.c: Likewise.
23383         * libio/vsnprintf.c: Likewise.
23384         * libio/vswprintf.c: Likewise.
23385         * libio/wfiledoalloc.c: Likewise.
23386         * libio/wfileops.c: Likewise.
23387         * libio/wgenops.c: Likewise.
23388         * libio/wmemstream.c: Likewise.
23389         * libio/wstrops.c: Likewise.
23390         * libio/__fpurge.c: Likewise.
23391         * libio/__fsetlocking.c: Likewise.
23392         * assert/assert.c: Likewise.
23393         * debug/fgets_chk.c: Likewise.
23394         * debug/fgets_u_chk.c: Likewise.
23395         * debug/fread_chk.c: Likewise.
23396         * debug/fread_u_chk.c: Likewise.
23397         * debug/gets_chk.c: Likewise.
23398         * debug/obprintf_chk.c: Likewise.
23399         * debug/vasprintf_chk.c: Likewise.
23400         * debug/vdprintf_chk.c: Likewise.
23401         * debug/vsnprintf_chk.c: Likewise.
23402         * debug/vsprintf_chk.c: Likewise.
23403         * malloc/mtrace.c: Likewise.
23404         * misc/error.c: Likewise.
23405         * misc/syslog.c: Likewise.
23406         * stdio-common/asprintf.c: Likewise.
23407         * stdio-common/fxprintf.c: Likewise.
23408         * stdio-common/getw.c: Likewise.
23409         * stdio-common/isoc99_fscanf.c: Likewise.
23410         * stdio-common/isoc99_scanf.c: Likewise.
23411         * stdio-common/isoc99_vfscanf.c: Likewise.
23412         * stdio-common/isoc99_vscanf.c: Likewise.
23413         * stdio-common/isoc99_vsscanf.c: Likewise.
23414         * stdio-common/printf-prs.c: Likewise.
23415         * stdio-common/printf_fp.c: Likewise.
23416         * stdio-common/printf_fphex.c: Likewise.
23417         * stdio-common/printf_size.c: Likewise.
23418         * stdio-common/putw.c: Likewise.
23419         * stdio-common/scanf.c: Likewise.
23420         * stdio-common/sprintf.c: Likewise.
23421         * stdio-common/tmpfile.c: Likewise.
23422         * stdio-common/vfprintf.c: Likewise.
23423         * stdio-common/vfscanf.c: Likewise.
23424         * stdlib/strfmon_l.c: Likewise.
23425         * sunrpc/openchild.c: Likewise.
23426         * sunrpc/xdr_stdio.c: Likewise.
23427         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23428         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23430 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23432         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23434         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23435         in the third column, to generate for the shared library an IFUNC
23436         that uses _dl_vdso_vsym.
23437         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23438         * Makeconfig (object-suffixes-noshared): New variable.
23440         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23441         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23442         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23443         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23445         [BZ #14132]
23446         * include/sys/time.h (__gettimeofday): Remove macro.
23447         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23448         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23449         Remove INTDEF.
23450         (__gettimeofday): Add libc_hidden_def.
23451         (gettimeofday): Add libc_hidden_weak.
23452         * sysdeps/mach/gettimeofday.c: Likewise.
23453         * sysdeps/posix/gettimeofday.c: Likewise.
23454         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23455         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23456         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23457         (__gettimeofday_internal): Remove strong_alias.
23458         (__gettimeofday): Add libc_hidden_def.
23459         (gettimeofday): Add libc_hidden_weak.
23460         * sysdeps/unix/syscalls.list (gettimeofday):
23461         Remove __gettimeofday_internal alias.
23463 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23464             H.J. Lu  <hongjiu.lu@intel.com>
23466         [BZ #12495]
23467         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23468         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23469         (largebin_index_32_big): New.
23470         (largebin_index): Use it for 16-byte alignment.
23471         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23472         correction with front_misalign.
23474 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23478         Likewise.
23479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23480         Likewise.
23481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23482         Likewise.
23483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23484         Likewise.
23485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23486         Likewise.
23487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23488         Likewise.
23489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23490         Likewise.
23491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23492         Likewise.
23493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23494         Likewise.
23495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23496         Likewise.
23497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23498         Likewise.
23499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23500         Likewise.
23502         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23503         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23505 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23507         [BZ #10846]
23508         [BZ #14036]
23509         * math/libm-test.inc (exp_test): Add test from bug 14036.
23510         (pow_test): Add test from bug 10846.
23512         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23513         and other flags.
23514         (special_function): Do not include flags in test name.
23515         (parse_args): Likewise.
23516         * sysdeps/i386/fpu/libm-test-ulps: Update.
23517         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23518         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23519         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23522         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23523         exceptions.
23524         * math/libm-test.inc ("Philosophy"): Update comment about
23525         exception testing.
23526         (UNDERFLOW_EXCEPTION): New macro.
23527         (UNDERFLOW_EXCEPTION_OK): Likewise.
23528         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23529         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23530         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23531         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23532         (INVALID_EXCEPTION_OK): Update value.
23533         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23534         (OVERFLOW_EXCEPTION_OK): Likewise.
23535         (IGNORE_ZERO_INF_SIGN): Likewise.
23536         (test_exceptions): Handle underflow exceptions.
23537         (acos_test): Update for underflow exception expectations.
23538         (cexp_test): Likewise.
23539         (clog_test): Likewise.
23540         (clog10_test): Likewise.
23541         (csqrt_test): Likewise.
23542         (ctan_test): Likewise.
23543         (ctanh_test): Likewise.
23544         (exp_test): Likewise.
23545         (exp10_test): Likewise.
23546         (exp2_test): Likewise.
23547         (expm1_test): Likewise.
23548         (fma_test): Likewise.
23549         (j0_test): Likewise.
23550         (jn_test): Likewise.
23551         (nexttoward_test): Likewise.
23552         (pow_test): Likewise.
23553         (scalbn_test): Likewise.
23554         (scalbln_test): Likewise.
23555         (tan_test): Likewise.
23556         (y1_test): Likewise.
23557         * sysdeps/i386/fpu/libm-test-ulps: Update.
23558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23560 2012-05-23  David S. Miller  <davem@davemloft.net>
23562         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23563         (__libc_sigaction): Remove unused local variables.
23565 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23567         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23569 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23571         mktime: avoid signed integer overflow
23572         * time/mktime.c (__mktime_internal): Do not mishandle the case
23573         where diff == INT_MIN.
23575         mktime: simplify computation of average
23576         * time/mktime.c (ranged_convert): Use new time_t_avg function
23577         instead of rolling our own (probably-slower) code.
23579         mktime: do not assume signed right shift propagates sign bit
23580         * time/mktime.c (isdst_differ): New static function.
23581         (__mktime_internal): No need to normalize tm_isdst now.
23582         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23583         tm_isdst values.
23585         mktime: merge another wrapv change from gnulib
23586         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23587         from some compilers.
23589         mktime: remove incorrect attempt at unusual arithmetics
23590         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23591         The code didn't really work on such machines anyway.
23592         (TYPE_MINIMUM): Assume two's complement.
23593         (twos_complement_arithmetic): Verify that long_int and time_t
23594         are two's complement (or unsigned, in the latter case).
23596         mktime: check signed shifts on long_int and time_t, too
23597         * time/mktime.c (SHR): Check that shifts work as desired
23598         on the types long_int and time_t too, as SHR is used on
23599         such types.
23601         mktime: do not assume 'long' is wide enough
23602         * time/mktime.c (verify): Move decl up.
23603         (long_int): New type.
23604         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23605         to remove assumption in the code that 'long' is wide enough to
23606         store year values.  This assumption is not true on x32 and on
23607         some non-glibc platforms.
23609         mktime: merge wrapv change from gnulib
23610         * time/mktime.c (WRAPV): New macro.
23611         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23612         (guess_time_tm, __mktime_internal): Do not assume that signed
23613         integer overflow wraps around; modern compilers generate code
23614         where this assumption is no longer valid.
23616 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23618         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23619         Replace "jmp L(pseudo_end)" with "ret".
23620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23621         Likewise.
23623 2012-05-23  Andreas Jaeger  <aj@suse.de>
23625         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23626         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23628 2012-05-23  Andreas Jaeger  <aj@suse.de>
23629             Maximilian Attems  <max@stro.at>
23631         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23632         New macros.
23634 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23636         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23637         code so that pseudo_end is just ret and the stack pointer is
23638         correct also for static library in error case.
23640 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23642         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23643         move to syscalls.list.
23644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23649         * manual/install.texi (Running make install): Do not mention Linux
23650         kernel version for which pt_chown is not needed.
23651         (Linux): Do not mention problems with nscd with 2.0 kernels.
23652         * INSTALL: Regenerated.
23654 2012-05-23  Andreas Jaeger  <aj@suse.de>
23656         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23657         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23658         macro.
23659         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23660         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23661         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23662         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23663         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23664         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23665         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23666         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23667         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23668         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23669         * sysdeps/unix/sysv/linux/bits/in.h
23670         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23672 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23674         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23675         (PREPARE_VERSION): Just use assert instead, it will be elided
23676         under [NDEBUG] anyway.
23678 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23680         * sysdeps/unix/sysv/linux/Makefile: Include
23681         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23682         (sysdep_routines): Remove sysctl.
23683         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23684         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23685         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23686         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23687         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23689 2012-05-22  Andreas Jaeger  <aj@suse.de>
23691         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23692         that pseudo_end is just ret and the stack pointer is correct also
23693         for static library in error case.
23695 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23697         [BZ #14122]
23698         * nss/nsswitch.c (defconfig_entries): New variable.
23699         (__nss_database_lookup): Don't leak defconfig entries.
23700         (nss_parse_service_list): Don't leak on error paths.
23701         (free_database_entries): New function.
23702         (free_defconfig): New function.
23703         (free_mem): Move common code to free_database_entries.
23705 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23707         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23708         Add arch_prctl.
23709         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23711         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23712         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23714         New macro.
23715         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23716         (INTERNAL_SYSCALL_TYPES): Likewise.
23717         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23718         (LOAD_REGS_TYPES_[1-6]): Likewise.
23719         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23720         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23722 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23724         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23725         copysignl for GLIBC_2_0.
23726         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23727         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23728         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23729         logbl for GLIBC_2_0.
23730         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23731         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23733 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23735         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23736         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23738         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23739         Use "neg %eax".
23741         * time/mktime.c: Update copyright years.
23743 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23745         mktime: merge comment-quoting-style change from gnulib
23746         * time/mktime.c: Quote 'like this' in comments.
23747         The GNU coding standards suggest that we no longer quote `like this',
23748         as "`" and "'" are typically rendered asymmetrically nowadays.
23749         The typical gnulib style is to quote 'like this' when quoting
23750         code, and "like this" when quoting English.
23752         * time/mktime.c (compile-command): Add "-I.".
23754         mktime: merge mktime-internal.h change from gnulib
23755         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23757         mktime: merge time_r change from gnulib
23758         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23760         mktime: merge DEBUG change from gnulib
23761         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23762         case system <time.h> has a #define.
23764         mktime: merge <sys/types.h> change from gnulib
23765         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23766         since <time.t> is now guaranteed to define time_t.
23768         mktime: merge HAVE_CONFIG_H change from gnulib
23769         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23771 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23774         Use "neg %eax".
23776         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23777         __rlim_t cast.
23778         (struct rusage): Use anonymous union to pad each field to
23779         __syscall_slong_t.
23781 2012-05-21  David S. Miller  <davem@davemloft.net>
23783         * Makefules (o-iterator): Remove .s cases.
23784         (compile-command.s): Delete.
23785         (COMPILE.s): Delete.
23786         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23788 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23790         * configure.in (libc_cv_predef_stack_protector): Only consider
23791         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23792         * configure: Regenerated.
23794 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23796         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23797         New macro.  Use R*LP on int and pointer.
23798         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23799         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23800         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23801         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23803         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23804         [__WORDSIZE_TIME64_COMPAT32] instead of
23805         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23806         (struct utmp): Likewise.
23807         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23808         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23809         Renamed to ...
23810         (__WORDSIZE_TIME64_COMPAT32): This.
23811         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23812         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23813         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23814         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23815         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23816         (__WORDSIZE_TIME64_COMPAT32): New macro.
23818 2012-05-21  Andreas Jaeger  <aj@suse.de>
23820         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23821         only if [SHARED]. Add prototype for __wcschr_ia32.
23823 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23825         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23826         of %rbp unmolested in the jmp_buf while mangling the low bits.
23827         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23828         unmolested high bits of %rbp while demangling the low bits.
23829         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23831 2012-05-21  Andreas Jaeger  <aj@suse.de>
23833         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23834         * sunrpc/svc_simple.c: Use it for registerrpc.
23835         * sunrpc/xcrypt.c: Use it for passwd2des.
23837         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23839 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23841         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23842         Don't define if [__SYSCALL_WORDSIZE != 32].
23843         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23844         New macro.
23846 2012-05-21  Bruno Haible  <bruno@clisp.org>
23847             Andreas Jaeger  <aj@suse.de>
23849         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23850         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23851         inptr and inend for must_buffer_ch.
23852         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23853         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23854         * stdio-common/Makefile (tests): Remove bug15.
23855         (bug15-ENV): Remove macro.
23856         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23857         anymore.
23859 2012-05-19  Andreas Jaeger  <aj@suse.de>
23860             Roland McGrath  <roland@hack.frob.com>
23862         * manual/contrib.texi: Completely rewritten. It contains now an
23863         alphabetical list of contributors and their contributions.
23865 2012-05-21  Richard Henderson  <rth@twiddle.net>
23867         * misc/getauxval.c (__getauxval): Use unsigned long int.
23868         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23869         (getauxval): Use unsigned long int.
23871 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23873         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23875 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23877         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23878         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23879         __alignof__ (long double).
23881 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23885 2012-05-20  Richard Henderson  <rth@twiddle.net>
23887         * misc/getauxval.c: New file.
23888         * misc/sys/auxv.h: New file.
23889         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23890         (routines): Add getauxval.
23891         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23892         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23893         * elf/dl-sysdep.c (_dl_auxv): Remove.
23894         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23895         * elf/dl-support.c (_dl_auxv): New variable.
23896         (_dl_aux_init): Initialize it.
23897         * manual/startup.texi (Auxiliary Vector): New node.
23898         * sysdeps/generic/bits/hwcap.h: New file.
23899         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23900         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23901         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23902         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23903         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23904         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23906         Update.
23907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23910         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23916 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23920 2012-05-19  David S. Miller  <davem@davemloft.net>
23922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23924 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23926         [BZ #14123]
23927         * math/s_ccosh.c: Include <float.h>
23928         (__ccosh): Avoid internal overflow calculating sinh and cosh
23929         values before multiplying by sin and cos values.
23930         * math/s_ccoshf.c: Likewise.
23931         * math/s_ccoshl.c: Likewise.
23932         * math/s_csin.c: Likewise.
23933         * math/s_csinf.c: Likewise.
23934         * math/s_csinl.c: Likewise.
23935         * math/s_csinh.c: Likewise.
23936         * math/s_csinhf.c: Likewise.
23937         * math/s_csinhl.c: Likewise.
23938         * math/libm-test.inc (ccos_test): Add more tests.
23939         (ccosh_test): Likewise.
23940         (csin_test): Likewise.
23941         (csinh_test): Likewise.
23942         * sysdeps/i386/fpu/libm-test-ulps: Update.
23943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23945 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23947         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23948         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23950         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23952 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23954         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23955         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23956         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23957         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23958         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23959         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23960         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23961         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23962         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23963         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23964         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23965         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23966         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23967         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23968         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23969         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23970         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23971         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23972         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23973         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23974         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23975         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23976         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23977         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23978         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23979         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23980         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23981         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23982         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23983         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23984         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23986 2012-05-18  Andreas Jaeger  <aj@suse.de>
23988         * csu/.gitignore: Delete.
23990 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23992         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23993         (timex): Use __syscall_slong_t.
23995 2012-05-18  Andreas Jaeger  <aj@suse.de>
23996             Carlos O'Donell  <carlos_odonell@mentor.com>
23998         * manual/install.texi (Configuring and compiling): Update
23999         description about files modified in the source directory.
24000         * INSTALL: Regenerated.
24002 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24004         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24005         value.  Use "or" to set return value to -1.
24006         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24007         negate return value.
24009 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24011         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24012         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24013         failure if the compiler has Graphite support disabled.
24014         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24015         Likewise.
24016         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24017         CFLAGS-memmove.c): Likewise.
24018         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24019         Likewise.
24021 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24023         * sysdeps/x86_64/x32/_itoa.h: New file.
24025         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24026         getdents system call only if kernel and user dirents have the
24027         same d_ino and d_off.
24029         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24030         LLONG_MAX != LONG_MAX.
24031         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24032         (_fitoa_word): Likewise.
24034         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24035         years.
24036         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24037         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24038         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24040         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24041         include <bits/wordsize.h>.  Check __x86_64__ instead of
24042         __WORDSIZE.
24043         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24044         if __x86_64__ is defined.  Use anonymous union on fpstate.
24046         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24047         anonymous union.
24049 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24051         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24052         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24053         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24054         Refer to _rtld_local_ro instead of _rtld_global_ro.
24055         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24056         Likewise.
24057         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24058         Likewise.
24059         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24060         Likewise.
24061         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24062         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24063         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24065         * sysdeps/powerpc/powerpc32/dl-machine.c
24066         (__elf_machine_runtime_setup) [PROF]: Don't reference
24067         _dl_prof_resolve.
24069 2012-05-18  Andreas Jaeger  <aj@suse.de>
24071         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24072         function only available for GCCs before 3.4 since GCC 3.4
24073         introduced a builtin.
24074         (lrint): Likewise.
24075         (llrintf): Likewise.
24076         (llrint): Likewise.
24077         (fmaxf): Likewise.
24078         (fmax): Likewise.
24079         (fminf): Likewise.
24080         (fmin): Likewise.
24081         (rint): Likewise.
24082         (rintf): Likewise.
24083         (nearbyint): Likewise.
24084         (nearbyintf): Likewise.
24085         (ceil): Likewise.
24086         (ceilf): Likewise.
24087         (floor): Likewise.
24088         (floorf): Likewise.
24090 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24092         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24093         on both fields and cast pointer to __syscall_ulong_t.
24095         * bits/types.h (__fsword_t): New type.
24096         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24097         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24098         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24099         (__FSWORD_T_TYPE): Likewise.
24100         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24101         (__FSWORD_T_TYPE): Likewise.
24102         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24103         (__FSWORD_T_TYPE): Likewise.
24104         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24105         (__FSWORD_T_TYPE): Likewise.
24106         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24107         __SWORD_TYPE with __fsword_t.
24108         (statfs64): Likewise.
24110 2012-05-17  David S. Miller  <davem@davemloft.net>
24112         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24114 2012-05-17  Andreas Jaeger  <aj@suse.de>
24116         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24117         warning.
24119 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24121         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24123 2012-05-17  Andreas Jaeger  <aj@suse.de>
24125         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24126         when it is used.
24128 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24130         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24132 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24134         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24135         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24137 2012-05-17  Andreas Jaeger  <aj@suse.de>
24138             Carlos O'Donell  <carlos_odonell@mentor.com>
24140         [BZ #14059]
24141         * sysdeps/x86_64/multiarch/init-arch.h
24142         (bit_YMM_Usable): Rename to...
24143         (bit_AVX_Usable): ... this.
24144         (bit_FMA4_Usable): New macro.
24145         (bit_XMM_state): New macro.
24146         (bit_YMM_state): New macro.
24147         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24148         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24149         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24150         (CPUID_OSXSAVE): New macro.
24151         (CPUID_AVX): New macro.
24152         (CPUID_FMA4): New macro.
24153         (index_YMM_Usable): Rename to...
24154         (index_AVX_Usable): ... this.
24155         (HAS_AVX): Use HAS_ARCH_FEATURE.
24156         (HAS_FMA4): Likewise.
24157         (HAS_YMM_USABLE): Remove.
24158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24159         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24160         are present.
24161         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24162         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24163         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24164         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24165         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24167 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24169         * math/libm-test.c: Support platforms without multiple rounding modes.
24170         * math/bug-nextafter.c: Support platforms without FP exceptions.
24171         * math/bug-nexttoward.c: Likewise.
24172         * math/test-fenv.c: Likewise.
24173         * math/test-misc.c: Likewise.
24174         * stdlib/bug-getcontext.c: Likewise.
24176 2012-05-17  Andreas Jaeger  <aj@suse.de>
24178         * manual/examples/search.c (critter_cmp): Change signature to
24179         avoid warnings.
24180         * manual/string.texi (Collation Functions): Likewise.
24182 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24184         * bits/types.h: Fold copyright years.
24185         * bits/typesizes.h: Likewise.
24186         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24187         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24188         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24190         * time/time.h: Likewise.
24192 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24194         [BZ #208]
24195         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24196         in instead of returning them.  Return void.
24197         (__libc_mallinfo): Accumulate over all arenas.
24198         (__malloc_stats): Adjust for change in int_mallinfo interface.
24200 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24202         [BZ #10375]
24203         * configure.in (NM): Add AC_CHECK_TOOL for it.
24204         (libc_extra_cflags): New substituted variable.
24205         Check for -fstack-protector being used implicitly.
24206         * configure: Regenerated.
24207         * config.make.in (config-extra-cflags): New variable,
24208         gets @libc_extra_cflags@.
24209         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24211         [BZ #10375]
24212         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24213         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24214         * configure: Regenerated.
24215         * config.make.in (CPPUNDEFS): New substituted variable.
24216         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24217         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24218         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24220 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24222         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24223         (mq_attr): Use __syscall_slong_t.
24225 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24227         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24228         Check __x86_64__ instead of __WORDSIZE.
24229         (_STAT_VER_LINUX): Likewise.
24230         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24231         __syscall_ulong_t and __syscall_slong_t.
24232         (stat64): Likewise.
24234 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24236         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24238 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24240         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24242 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24244         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24245         __syscall_ulong_t.
24247         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24248         include <bits/wordsize.h>.  Check __x86_64__ instead of
24249         __WORDSIZE.
24250         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24251         defined.
24252         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24254         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24255         include <bits/wordsize.h>.  Check __x86_64__ instead of
24256         __WORDSIZE.
24257         (user_regs_struct): Use "__extension__ unsigned long long"
24258         instead of "unsigned long" if __x86_64__ is defined.
24259         (user): Likewise.  Pad after pointer field if __ILP32__ is
24260         defined.
24262 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24264         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24265         versions 5 to 9.
24266         * configure: Regenerated.
24267         * manual/install.texi (texinfo): Increase version requirement to
24268         4.5 or later.
24269         * INSTALL: Regenerated.
24271         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24273 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24275         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24277         * sysdeps/x86_64/x32/ffs.c: New file.
24279         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24280         __syscall_ulong_t.
24281         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24282         defined.  Use __syscall_ulong_t.
24283         (shminfo): Use __syscall_ulong_t.
24284         (shm_info): Likewise.
24286         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24287         __syscall_ulong_t.
24289         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24290         <bits/wordsize.h>.
24291         (msgqnum_t): Use __syscall_ulong_t.
24292         (msglen_t): Likewise.
24293         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24294         __syscall_ulong_t.
24296         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24297         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24299         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24301         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24302         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24304         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24305         __syscall_slong_t.
24307         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24308         include <bits/wordsize.h>.  Check __x86_64__ instead of
24309         __WORDSIZE.
24311         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24312         "unsigned long long int" if __x86_64__ is defined.
24313         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24315         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24316         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24317         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24319         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24320         <stdint.h>.
24321         (GET_PC): Cast to uintptr_t first.
24322         (GET_FRAME): Likewise.
24323         (GET_STACK): Likewise.
24325         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24326         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24327         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24328         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24329         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24330         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24331         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24332         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24333         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24334         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24335         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24336         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24337         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24338         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24339         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24340         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24341         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24342         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24343         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24344         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24345         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24346         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24347         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24348         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24349         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24350         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24351         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24352         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24353         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24355 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24357         * Makerules (+depfiles): Also collect depfiles from .oS in
24358         $(extra-objs).
24359         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24360         .oS, $(libnldbl-routines)).
24362         * Makerules (native-compile-mkdep-flags): Define.
24363         * sunrpc/Makefile (extra-objs): Add $(addprefix
24364         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24365         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24366         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24367         calling $(make-target-directory).
24369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24371         * bits/types.h (__snseconds_t): Removed.
24372         * time/time.h (struct timespec): Replace __snseconds_t with
24373         __syscall_slong_t.
24374         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24375         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24376         Likewise.
24377         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24378         (__SNSECONDS_T_TYPE): Likewise.
24379         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24380         (__SNSECONDS_T_TYPE): Likewise.
24381         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24382         (__SNSECONDS_T_TYPE): Likewise.
24384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24386         * sysdeps/mach/hurd/bits/typesizes.h
24387         (__SYSCALL_SLONG_TYPE): New macro.
24388         (__SYSCALL_ULONG_TYPE): Likewise.
24390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24392         * bits/types.h (__syscall_slong_t): New type.
24393         (__syscall_ulong_t): Likewise.
24395         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24396         (__SYSCALL_ULONG_TYPE): Likewise.
24397         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24398         (__SYSCALL_SLONG_TYPE): Likewise.
24399         (__SYSCALL_ULONG_TYPE): Likewise.
24400         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24401         (__SYSCALL_SLONG_TYPE): Likewise.
24402         (__SYSCALL_ULONG_TYPE): Likewise.
24403         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24404         (__SYSCALL_SLONG_TYPE): Likewise.
24405         (__SYSCALL_ULONG_TYPE): Likewise.
24407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24409         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24410         Add sigaltstack-offsets.sym.
24411         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24412         <sigaltstack-offsets.h>.
24413         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24414         longjmp_msg pointer.
24415         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24416         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24417         signal stack.
24418         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24420 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24422         * elf/stackguard-macros.h: Remove file.
24423         * sysdeps/generic/stackguard-macros.h: New file.
24424         * sysdeps/i386/stackguard-macros.h: Likewise.
24425         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24426         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24427         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24428         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24429         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24430         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24431         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24432         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24433         <elf/stackguard-macros.h>.
24435         [BZ #14109]
24436         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24437         __aligned__ in attribute.
24438         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24439         (gregset_t): Likewise.
24441 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24443         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24444         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24445         * sysdeps/x86_64/x32/Implies-after: New file.
24447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24449         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24450         and access return value for _dl_profile_fixup.  Use R10_LP to
24451         load frame size.
24453 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24455         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24459         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24460         * sysdeps/x86_64/x32/sysdep.h: New file.
24462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24464         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24465         * sysdeps/x86_64/setjmp.S: Likewise.
24467 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24469         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24470         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24471         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24472         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24473         remove unused global constant.
24475 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24477         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24478         include of <not-cancel.h>.
24480 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24482         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24484 2012-05-15  Jeff Law  <law@redhat.com>
24485             Andreas Jaeger  <aj@suse.de>
24487         [BZ #13594]
24488         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24489         out from...
24490         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24491         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24492         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24493         code changing __hst_map_handle.map.
24495 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24497         * configure.in (sysnames): Look for Implies-before and Implies-after
24498         files.
24499         * configure: Regenerated.
24501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24503         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24504         8-byte data alignment with LP_SIZE alignment.
24506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24508         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24509         into R10_LP.
24511 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24513         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24517         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24518         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24519         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24520         Likewise.
24521         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24525         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24526         (stackinfo_sub_sp): Likewise.
24528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24530         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24531         RAX_LP.
24533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24535         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24536         into R*_LP.
24538 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24540         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24541         sizes into R*_LP.
24543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24545         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24549         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24550         into R11_LP and load __x86_64_shared_cache_size_half into
24551         R8_LP.
24553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24555         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24556         R8_LP.
24558 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24560         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24561         logb for POWER7.
24562         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24563         logbf for POWER7.
24564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24565         logbl for POWER7.
24566         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24567         powerpc32/power7/fpu/s_logb.c via #include.
24568         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24569         powerpc32/power7/fpu/s_logbf.c via #include.
24570         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24571         powerpc32/power7/fpu/s_logbl.c via #include.
24573 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24575         * README.libm: Remove file.
24577 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24579         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24580         count for x32.  Use R*_LP and omit operand-size suffix.
24582 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24584         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24585         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24586         * sysdeps/x86_64/x32/shlib-versions: New file.
24588 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24590         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24591         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24592         Use _dl_fatal_printf instead.
24594 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24596         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24597         set if not set by the user.  Do not allow for being unset.
24598         * sysdeps/unix/sysv/linux/configure: Regenerated.
24600 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24602         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24603         the `q' suffix from lea and replace .quad with ASM_ADDR.
24605 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24607         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24608         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24609         instead of $17.
24610         (PTR_DEMANGLE): Likewise.
24612 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24614         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24615         (LP_OP): Likewise.
24616         (ASM_ADDR): Likewise.
24617         (RAX_LP): Likewise.
24618         (RBP_LP): Likewise.
24619         (RBX_LP): Likewise.
24620         (RCX_LP): Likewise.
24621         (RDI_LP): Likewise.
24622         (RSI_LP): Likewise.
24623         (RSP_LP): Likewise.
24624         (R8_LP): Likewise.
24625         (R9_LP): Likewise.
24626         (R10_LP): Likewise.
24627         (R10_LP): Likewise.
24628         (R11_LP): Likewise.
24629         (R12_LP): Likewise.
24630         (R13_LP): Likewise.
24631         (R14_LP): Likewise.
24632         (R15_LP): Likewise.
24634 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24636         * sysdeps/x86_64/x32/dl-machine.h: New file.
24638 2012-05-14  Andreas Jaeger  <aj@suse.de>
24640         * manual/Makefile (subdir): Remove export of subdir.
24641         (all): Remove target.
24642         (.PHONY): Remove all from list.
24643         (mkinstalldirs): Remove.
24644         (.PHONY): Remove installdirs from list.
24645         ($(inst_infodir)/libc.info): Use make-target-directory.
24646         (installdirs): Remove.
24647         (subdir_%): Remove.
24648         (glibc-targets): Remove.
24649         (lib): Remove.
24650         (stubs): Remove.
24651         ($(objpfx)stubs ../po/manual.pot): Remove.
24652         ($(objpfx)stamp%): Remove.
24653         (make-target-directory): Remove.
24654         (subdir_install): Remove.
24655         (routines): Remove.
24656         (aux): Remove.
24657         (sources): Remove.
24658         (objects): Remove.
24659         (headers): Remove.
24661         [BZ #13750]
24662         * manual/.gitignore: Remove, it's not needed anymore.
24663         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24664         all files in it.
24665         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24666         directory.
24667         (texis): Renamed to $(objpfx)texis.
24668         (texis-path): New, contains path to generated files.
24669         (chapters.%): Use texis-path for complete path, add extra argument
24670         libc-texinfo.sh.
24671         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24672         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24673         (summary,texi, stamp-summary): Use complete path of
24674         files. Generate files in build dir.
24675         (dir-add.texi): Build in build dir.
24676         (libm-err.texi,stamp-libm-err): Likewise.
24677         (version.texi, stamp-version): Likewise.
24678         (.%c.texi): Likewise.
24679         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24680         (mostlyclean): Remove target.
24681         (realclean): Remove target.
24682         (generated): Add new variable with contents from mostlyclean and
24683         realclean, remove entries duplicated in common-mostlyclean, add
24684         stamp-libm-err and stamp-version.
24685         (generated-dirs): Add libc directory.
24686         ($(inst_infodir)/libc.info): Install files from build dir.
24688         * manual/install.texi (Configuring and compiling): Adjust since
24689         the info files are not part of the tar ball anymore.
24691 2012-05-14  Andreas Jaeger  <aj@suse.de>
24693         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24694         variable.
24696 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24698         [BZ #13717]
24699         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24700         to 2.2.0 where earlier.
24701         * sysdeps/unix/sysv/linux/configure: Regenerated.
24702         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24703         Remove conditional code.
24704         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24705         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24706         Remove conditional code.
24707         [!__NR_lchown]: Likewise.
24708         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24709         [__NR_lchown]: Likewise.
24710         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24711         comment referencing __ASSUME_LCHOWN_SYSCALL.
24712         * sysdeps/unix/sysv/linux/i386/sigaction.c
24713         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24714         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24715         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24716         Remove conditional code.
24717         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24718         (__protocol_available): Remove #if 0 code.
24719         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24720         conditional code.
24721         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24722         * sysdeps/unix/sysv/linux/kernel-features.h
24723         (__ASSUME_GETCWD_SYSCALL): Don't define.
24724         (__ASSUME_REALTIME_SIGNALS): Likewise.
24725         (__ASSUME_PREAD_SYSCALL): Likewise.
24726         (__ASSUME_PWRITE_SYSCALL): Likewise.
24727         (__ASSUME_POLL_SYSCALL): Likewise.
24728         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24729         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24730         non-SPARC.
24731         (__ASSUME_SIOCGIFNAME): Don't define.
24732         (__ASSUME_MSG_NOSIGNAL): Likewise.
24733         (__ASSUME_SENDFILE): Define unconditionally.
24734         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24735         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24736         conditional code.
24737         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24738         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24739         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24740         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24741         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24742         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24743         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24745         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24748         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24749         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24751         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24752         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24754         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24755         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24757         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24758         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24760         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24761         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24763         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24764         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24766         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24767         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24768         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24769         Remove conditional code.
24770         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24771         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24772         Remove conditional code.
24773         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24774         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24775         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24776         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24777         Remove conditional code.
24778         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24779         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24780         Remove conditional code.
24781         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24782         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24783         Remove conditional code.
24784         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24785         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24786         Remove conditional code.
24787         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24788         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24789         Remove conditional code.
24790         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24791         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24792         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24793         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24794         * sysdeps/unix/sysv/linux/sigaction.c
24795         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24796         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24797         * sysdeps/unix/sysv/linux/sigpending.c
24798         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24799         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24800         * sysdeps/unix/sysv/linux/sigprocmask.c
24801         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24802         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24803         * sysdeps/unix/sysv/linux/sigsuspend.c
24804         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24805         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24806         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24807         (__libc_missing_rt_sigs): Remove.
24808         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24809         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24810         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24811         Remove conditional code.
24812         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24813         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24814         return 1.
24815         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24816         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24817         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24818         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24820 2012-05-14  Andreas Jaeger  <aj@suse.de>
24822         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24823         it's not used in glibc.
24824         (__coshm1): Likewise.
24825         (__acosh1p): Likewise.
24826         (__sgn): Likewise.
24828         * manual/string.texi (Copying and Concatenation): Add missing
24829         variable in concat example.
24830         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24832 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24834         [BZ #14103]
24835         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24836         __builtin_clzl with __builtin_clzll.
24838 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24840         [BZ #14104]
24841         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24842         libc_freeres_ptr.
24844 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24846         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24847         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24848         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24849         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24851 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24853         * NEWS: Update ia64 info.
24855 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24857         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24858         used as bcopy.
24860 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24862         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24863         * sysdeps/unix/syscalls.list (dup3): Likewise.
24864         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24865         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24867 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24869         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24870         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24872 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24874         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24875         thread pointer.
24876         (TLS_IE): Use mov/add instead of movq/addq to load thread
24877         pointer.
24878         (TLS_GD_PREFIX): New.
24879         (TLS_GD): Use it.
24881 2012-05-11  David S. Miller  <davem@davemloft.net>
24883         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24884         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24885         (_FPU_SETCW): Likewise.
24887 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24889         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24890         is 32-byte aligned.
24892 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24894         [BZ #11837]
24895         * iconvdata/gb18030.c: Update tables.
24896         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24897         characters specially.
24898         (BODY for TO_LOOP): Add encoding of missing ranges.
24900 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24902         [BZ #13673]
24903         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24904         * sysdeps/mach/hurd/dup3.c: Likewise.
24905         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24906         * sysdeps/powerpc/memmove.c:: Likewise.
24908 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24910         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24911         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24913 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24915         * elf/elf.h (R_X86_64_RELATIVE64): New.
24916         (R_X86_64_NUM): Updated.
24917         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24918         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24919         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24920         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24921         tst-quad1pie tst-quad2pie
24922         (modules-names): Add tst-quadmod1 tst-quadmod2.
24923         ($(objpfx)tst-quad1): New dependency.
24924         ($(objpfx)tst-quad2): Likewise.
24925         ($(objpfx)tst-quad1pie): Likewise.
24926         ($(objpfx)tst-quad2pie): Likewise.
24927         * sysdeps/x86_64/tst-quad1.c: New file.
24928         * sysdeps/x86_64/tst-quad1pie.c: New file.
24929         * sysdeps/x86_64/tst-quad2.c: Likewise.
24930         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24931         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24932         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24933         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24934         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24936 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24938         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24939         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24940         * streams/stropts.h (t_scalar_t): Define type.
24942         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24943         (_PATH_PRESERVE): Set to "/var/lib".
24944         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24946         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24947         instead of int.
24949         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24950         if __dir_mkfile succeeded.
24952         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24953         checking for _hurd_dtablesize.  Unlock it right after having
24954         finished _hurd_dtable allocation.
24956 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24958         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24959         * sysdeps/mach/hurd/configure: Regenerated.
24960         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24961         special-casing to...
24962         * sysdeps/gnu/configure.in: ... this new file.
24963         * sysdeps/unix/sysv/linux/configure: Regenerated.
24964         * sysdeps/gnu/configure: New generated file.
24966         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24967         for Linux: use nsec instead of usec, as well as:
24968         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24969         members of type struct timespec.
24970         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24971         New macros.
24972         (struct stat64): Likewise.
24973         (_STATBUF_ST_NSEC): New macro.
24974         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24976         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24977         __strtoul_internal rather than strtoul.
24979 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24981         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24982         and reject them.
24984 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24986         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24987         which preserves existing values.
24988         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24990 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24992         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24993         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24994         greater than FD_SETSIZE.
24996 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24998         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24999         allocated, call __vm_protect to finish enabling the existing space, and
25000         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25001         allocate the remainder.
25003 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25005         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25006         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25008 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25010         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25011         sysdeps/mach/hurd/readlink.c.
25013         * posix/tst-sysconf.c (posix_options): Only use
25014         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25015         _POSIX_SYNCHRONIZED_IO when they are defined
25016         * sysdeps/mach/hurd/bits/posix_opt.h:
25017         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25018         (_XOPEN_REALTIME): Undefine macro.
25019         (_XOPEN_REALTIME_THREADS): Undefine macro.
25020         (_XOPEN_SHM): Undefine macro.
25021         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25022         macro to -1.
25023         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25024         macro to -1.
25025         (_POSIX_ASYNC_IO): Undefine macro.
25026         (_POSIX_PRIORITIZED_IO): Undefine macro.
25027         (_POSIX_SPIN_LOCKS): Define macro to -1.
25029         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25030         SA_NODEFER, SA_RESETHAND.
25031         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25032         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25033         F_DUPFD_CLOEXEC.
25035 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25037         * elf/Makefile (pldd-modules): Define unconditionally.
25039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25041         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25043 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25045         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25046         Return ENOENT when name is empty.
25047         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25049 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25051         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25053         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25055 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25057         Fix mlock in all cases except non-readable pages.
25058         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25059         instead of VM_PROT_ALL as parameter to __vm_wire function.
25061         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25062         (__mkdir): When path is `/', just fail with EEXIST.
25063         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25065 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25067         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25068         <sys/uio.h> (for writev).
25069         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25070         and <sys/param.h> (for MIN).
25072 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25074         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25075         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25076         if interrupted.
25078 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25080         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25081         Depend on against $(link-rpcuserlibs).
25083 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25085         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25086         (__libc_stack_end): Do not use attribute_relro.
25087         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25088         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25089         to libthread-provided value.
25090         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25091         attribute_relro.
25093 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25095         [BZ #3748]
25096         * bits/libc-lock.h (__libc_once_get): New macro.
25097         * sysdeps/mach/bits/libc-lock.h: Likewise.
25098         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25099         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25100         instead of using implementation details.
25102         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25103         * libio/freopen.c: Likewise.
25104         * libio/freopen64.c: Likewise.
25105         * misc/syslog.c: Likewise.
25106         * nscd/connections.c: Likewise.
25107         * nscd/netgroupcache.c: Likewise.
25108         * sysdeps/posix/getcwd.c: Likewise.
25110 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25112         * math/w_ilogbf.c: Add #include <limits.h>.
25114 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25116         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25117         path instead of returning without unlocking.
25119         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25120         immediate-write ioctls.
25121         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25123 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25125         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25126         __builtin_frame_address instead of making assumptions about the
25127         location of the return address relative to DATA.  Force early load of
25128         the return address.
25129         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25130         __builtin_frame_address.
25132         dup3 for GNU Hurd.
25133         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25134         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25135         implement dup3 and do some further code clean-ups.
25136         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25137         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25139 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25141         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25143         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25144         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25145         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25146         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25147         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25148         d->port.lock.
25150         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25151         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25152         when handler == SIG_ERR, not when handler != SIG_ERR.
25154 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25156         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25157         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25158         definitions.
25160         accept4 for GNU Hurd.
25161         * include/sys/socket.h (__libc_accept4): New prototype.
25162         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25163         to implement __libc_accept4.
25164         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25165         __libc_accept4.
25166         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25168         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25169         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25170         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25171         signal-defines.sym.
25173 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25175         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25177 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25179         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25180         assertion on O_CLOEXEC flag.
25181         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25182         * hurd/intern-fd.c: Likewise.
25183         * hurd/port2fd.c: Likewise.
25185 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25187         [BZ #3906]
25188         * bits/in.h (IPV6_PKTINFO): Define new macro.
25189         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25191 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25193         [BZ #13954]
25194         [BZ #13955]
25195         [BZ #13956]
25196         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25197         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25198         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25199         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25200         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25201         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25202         * math/libm-test.inc (logb_test) : Additional logb tests.
25204 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25205             Andreas Jaeger  <aj@suse.de>
25207         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25208         * configure: Regenerated.
25209         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25210         * config.make.in (link-obsolete-rpc): New substituted variable.
25211         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25212         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25213         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25214         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25215         so that libc.a contains the symbols.
25216         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25217         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25218         * sunrpc/auth_none.c: Likewise.
25219         * sunrpc/auth_unix.c: Likewise.
25220         * sunrpc/authdes_prot.c: Likewise.
25221         * sunrpc/authuxprot.c: Likewise.
25222         * sunrpc/clnt_gen.c: Likewise.
25223         * sunrpc/clnt_perr.c: Likewise.
25224         * sunrpc/clnt_raw.c: Likewise.
25225         * sunrpc/clnt_simp.c: Likewise.
25226         * sunrpc/clnt_tcp.c: Likewise.
25227         * sunrpc/clnt_udp.c: Likewise.
25228         * sunrpc/clnt_unix.c: Likewise.
25229         * sunrpc/des_crypt.c: Likewise.
25230         * sunrpc/des_soft.c: Likewise.
25231         * sunrpc/get_myaddr.c: Likewise.
25232         * sunrpc/key_call.c: Likewise.
25233         * sunrpc/key_prot.c: Likewise.
25234         * sunrpc/netname.c: Likewise.
25235         * sunrpc/pm_getmaps.c: Likewise.
25236         * sunrpc/pm_getport.c: Likewise.
25237         * sunrpc/pmap_clnt.c: Likewise.
25238         * sunrpc/pmap_prot.c: Likewise.
25239         * sunrpc/pmap_prot2.c: Likewise.
25240         * sunrpc/pmap_rmt.c: Likewise.
25241         * sunrpc/publickey.c: Likewise.
25242         * sunrpc/rpc_cmsg.c: Likewise.
25243         * sunrpc/rpc_common.c: Likewise.
25244         * sunrpc/rpc_dtable.c: Likewise.
25245         * sunrpc/rpc_prot.c: Likewise.
25246         * sunrpc/rpc_thread.c: Likewise.
25247         * sunrpc/rtime.c: Likewise.
25248         * sunrpc/svc.c: Likewise.
25249         * sunrpc/svc_auth.c: Likewise.
25250         * sunrpc/svc_raw.c: Likewise.
25251         * sunrpc/svc_run.c: Likewise.
25252         * sunrpc/svc_tcp.c: Likewise.
25253         * sunrpc/svc_udp.c: Likewise.
25254         * sunrpc/svc_unix.c: Likewise.
25255         * sunrpc/svcauth_des.c: Likewise.
25256         * sunrpc/xcrypt.c: Likewise.
25257         * sunrpc/xdr.c: Likewise.
25258         * sunrpc/xdr_array.c: Likewise.
25259         * sunrpc/xdr_float.c: Likewise.
25260         * sunrpc/xdr_intXX_t.c: Likewise.
25261         * sunrpc/xdr_mem.c: Likewise.
25262         * sunrpc/xdr_rec.c: Likewise.
25263         * sunrpc/xdr_ref.c: Likewise.
25264         * sunrpc/xdr_sizeof.c: Likewise.
25265         * sunrpc/xdr_stdio.c: Likewise.
25267 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25269         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25270         change.  Update copyright years.
25272 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25274         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25276 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25277             Joseph Myers  <joseph@codesourcery.com>
25278             Paul Pluzhnikov  <ppluzhnikov@google.com>
25280         [BZ #14012]
25281         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25282         requiring rpcgen.
25283         [cross-compiling] (extra-libs): Likewise.
25284         [cross-compiling] (extra-libs-others): Likewise.
25285         [cross-compiling] (librpcsvc-routines): Likewise.
25286         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25287         [cross-compiling] (omit-deps): Likewise.
25288         (sunrpc-CPPFLAGS): New variable.
25289         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25290         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25291         (cross-rpcgen-objs): New variable.
25292         (extra-objs): Append $(cross-rpcgen-objs).
25293         ($(cross-rpcgen-objs)): New rule.
25294         ($(objpfx)cross-rpcgen): Likewise.
25295         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25296         comment.
25297         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25298         ($(objpfx)x%.stmp): Likewise.
25299         * sunrpc/proto.h [IS_IN_build] (_): Define.
25300         [IS_IN_build] (_libc_intl_domainname): Likewise.
25302 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25304         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25305         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25306         and R_X86_64_TPOFF64.
25308 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25310         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25311         sysdeps/unix/sysv/syscalls.list.
25312         (stime): Likewise.
25313         (utime): Likewise.
25314         * sysdeps/unix/sysv/syscalls.list: Remove file.
25316 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25318         [BZ #3440]
25319         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25320         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25321         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25322         (__LC_IDENTIFICATION): Make these macros useful in #if
25323         expressions, as required by C99.
25325 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25327         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25328         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25329         after this.
25331 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25333         * stdlib/longlong.h: Updated from GCC.
25335 2012-05-09  Andreas Jaeger  <aj@suse.de>
25337         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25338         default is first entry.
25339         (run_mode): Set type.
25340         (main): Remove informal message about syslog.
25341         (options): Fix typo.
25343         [BZ #14053]
25344         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25345         to asm.
25346         (lrint): Likewise.
25347         (llrintf): Likewise.
25348         (llrint): Likewise.
25349         (rint): Likewise.
25350         (rintf): Likewise.
25351         (nearbyint): Likewise.
25352         (nearbyintf): Likewise.
25354 2012-05-09  Andreas Jaeger  <aj@suse.de>
25355             Pedro Alves  <palves@redhat.com>
25357         * nscd/nscd.c (run_mode): Use enum.
25358         (main): Cleanup coding style issue.
25360 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25361             Andreas Jaeger  <aj@suse.de>
25363         * nscd/nscd.c (go_background): Replaced with...
25364         (run_mode): ... this.
25365         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25366         (options): Add -F --foreground.
25367         (main): Implement it.
25368         (parse_opt): Parse it.
25370 2012-05-09  Andreas Jaeger  <aj@suse.de>
25372         [BZ #14083]
25373         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25374         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25375         -Wconversion warning.
25376         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25377         Likewise.
25379 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25381         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25382         == 0.
25383         (LC_ALL): Use macro-int-constant.
25384         (LC_COLLATE): Likewise.
25385         (LC_CTYPE): Likewise.
25386         (LC_MESSAGES): Likewise.
25387         (LC_MONETARY): Likewise.
25388         (LC_NUMERIC): Likewise.
25389         (LC_TIME): Likewise.
25390         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25391         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25393         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25394         Specify type.
25395         [C99-based standards] (float_t): Expect type.
25396         [C99-based standards] (double_t): Expect type.
25397         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25398         type.
25399         [C99-based standards] (HUGE_VALL): Likewise.
25400         [C99-based standards] (INFINITY): Likewise.
25401         [C99-based standards] (NAN): Likewise.
25402         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25403         [C99-based standards] (FP_NAN): Likewise.
25404         [C99-based standards] (FP_NORMAL): Likewise.
25405         [C99-based standards] (FP_SUBNORMAL): Likewise.
25406         [C99-based standards] (FP_ZERO): Likewise.
25407         [C99-based standards] (FP_FAST_FMA): Use
25408         optional-macro-int-constant.  Specify type.  Require == 1.
25409         [C99-based standards] (FP_FAST_FMAF): Likewise.
25410         [C99-based standards] (FP_FAST_FMAL): Likewise.
25411         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25412         [C99-based standards] (FP_ILOGBNAN): Likewise.
25413         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25414         Specify type.
25415         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25416         [C99-based standards] (math_errhandling): Specify type.
25417         [ISO99 || ISO11] (signgam): Do not allow.
25418         [non-C99-based standards] (copysignf): Do not allow.
25419         [non-C99-based standards] (exp2f): Likewise.
25420         [non-C99-based standards] (log2f): Likewise.
25421         [non-C99-based standards] (modff): Allow.
25422         [non-C99-based standards] (erff): Do not allow.
25423         [non-C99-based standards] (erfcf): Likewise.
25424         [non-C99-based standards] (gammaf): Likewise.
25425         [non-C99-based standards] (hypotf): Likewise.
25426         [non-C99-based standards] (j0f): Likewise.
25427         [non-C99-based standards] (j1f): Likewise.
25428         [non-C99-based standards] (jnf): Likewise.
25429         [non-C99-based standards] (lgammaf): Likewise.
25430         [non-C99-based standards] (tgammaf): Likewise.
25431         [non-C99-based standards] (y0f): Likewise.
25432         [non-C99-based standards] (y1f): Likewise.
25433         [non-C99-based standards] (ynf): Likewise.
25434         [non-C99-based standards] (isnanf): Likewise.
25435         [non-C99-based standards] (acoshf): Likewise.
25436         [non-C99-based standards] (asinhf): Likewise.
25437         [non-C99-based standards] (atanhf): Likewise.
25438         [non-C99-based standards] (cbrtf): Likewise.
25439         [non-C99-based standards] (expm1f): Likewise.
25440         [non-C99-based standards] (ilogbf): Likewise.
25441         [non-C99-based standards] (log1pf): Likewise.
25442         [non-C99-based standards] (logbf): Likewise.
25443         [non-C99-based standards] (nextafterf): Likewise.
25444         [non-C99-based standards] (remainderf): Likewise.
25445         [non-C99-based standards] (rintf): Likewise.
25446         [non-C99-based standards] (scalbf): Likewise.
25447         [non-C99-based standards] (copysignl): Likewise.
25448         [non-C99-based standards] (exp2l): Likewise.
25449         [non-C99-based standards] (log2l): Likewise.
25450         [non-C99-based standards] (modfl): Allow.
25451         [non-C99-based standards] (erfl): Do not allow.
25452         [non-C99-based standards] (erfcl): Likewise.
25453         [non-C99-based standards] (gammal): Likewise.
25454         [non-C99-based standards] (hypotl): Likewise.
25455         [non-C99-based standards] (j0l): Likewise.
25456         [non-C99-based standards] (j1l): Likewise.
25457         [non-C99-based standards] (jnl): Likewise.
25458         [non-C99-based standards] (lgammal): Likewise.
25459         [non-C99-based standards] (tgammal): Likewise.
25460         [non-C99-based standards] (y0l): Likewise.
25461         [non-C99-based standards] (y1l): Likewise.
25462         [non-C99-based standards] (ynl): Likewise.
25463         [non-C99-based standards] (isnanl): Likewise.
25464         [non-C99-based standards] (acoshl): Likewise.
25465         [non-C99-based standards] (asinhl): Likewise.
25466         [non-C99-based standards] (atanhl): Likewise.
25467         [non-C99-based standards] (cbrtl): Likewise.
25468         [non-C99-based standards] (expm1l): Likewise.
25469         [non-C99-based standards] (ilogbl): Likewise.
25470         [non-C99-based standards] (log1pl): Likewise.
25471         [non-C99-based standards] (logbl): Likewise.
25472         [non-C99-based standards] (nextafterl): Likewise.
25473         [non-C99-based standards] (remainderl): Likewise.
25474         [non-C99-based standards] (rintl): Likewise.
25475         [non-C99-based standards] (scalbl): Likewise.
25476         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25477         [non-C99-based standards] (FP_*): Do not allow.
25478         [C99-based standards] (FP_*): Change to
25479         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25480         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25481         allow.
25482         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25483         (SIG_ERR): Likewise.
25484         [X/Open-based standards] (SIG_HOLD): Likewise.
25485         (SIG_IGN): Likewise.
25486         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25487         positive value.
25488         (SIGFPE): Likewise.
25489         (SIGILL): Likewise.
25490         (SIGINT): Likewise.
25491         (SIGSEGV): Likewise.
25492         (SIGTER): Likewise.
25493         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25494         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25495         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25496         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25497         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25498         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25499         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25500         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25501         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25502         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25503         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25504         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25505         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25506         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25507         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25508         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25509         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25510         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25511         [X/Open-based standards] (SIGTRAP): Likewise.
25512         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25513         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25514         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25515         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25516         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25517         allow.
25519 2012-05-08  Ian Wienand  <ianw@vmware.com>
25521         [BZ #14080]
25522         * time/tzset.c (__tzset_parse_tz): Update default rules for
25523         daylight time changes in the Energy Policy Act of 2005.
25525 2012-05-09  Andreas Jaeger  <aj@suse.de>
25527         [BZ #13983]
25528         * elf/ldconfig.c (parse_conf): Change string to make clear that
25529         ldconfig only issued a warning if ld.so.conf does not exist.
25531 2012-05-08  David S. Miller  <davem@davemloft.net>
25533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25534         movxtod instead of popping the value on the stack.
25536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25538 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25540         * config.h.in: Add HAVE_ARM_PCS_VFP.
25542 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25544         [BZ #13979]
25545         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25546         checking but the checks are disabled for any reason.
25548 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25550         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25551         and ELF64_R_TYPE with ELFW(R_TYPE).
25553 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25555         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25556         (ulimit): Likewise.
25558         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25559         (settimeofday): Likewise.
25561 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25563         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25564         a struct th_u2 inside the union, and move tu_block/tu_code into
25565         a new th_u3 union of tu_block/tu_code inside of that.  Move
25566         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25567         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25568         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25569         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25570         (th_stuff): Change to th_u1.tu_stuff.
25571         (th_data): Define.
25572         (th_msg): Change to th_u1.th_u2.tu_data.
25574 2012-05-07  David S. Miller  <davem@davemloft.net>
25576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25578         [BZ #14074]
25579         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25580         (SETUP_PIC_REG): Use it.
25581         (SETUP_PIC_REG_LEAF): Use it.
25583 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25585         [BZ #13885]
25586         [BZ #13923]
25587         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25588         USE_AS_EXPM1L.
25589         (EXPL_FINITE): Likewise.
25590         (FLDLOG): Likewise.
25591         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25592         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25593         e_expl.S.
25594         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25595         USE_AS_EXPM1L.
25596         (EXPL_FINITE): Likewise.
25597         (FLDLOG): Likewise.
25598         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25599         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25600         e_expl.S.
25601         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25602         test of -max_value argument for long double.
25603         * sysdeps/i386/fpu/libm-test-ulps: Update.
25604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25606 2012-05-06  David S. Miller  <davem@davemloft.net>
25608         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25609         quad soft-float symbols whose references which are compiler
25610         generated.
25611         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25613 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25615         [BZ #13884]
25616         [BZ #13914]
25617         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25618         USE_AS_EXP10L.
25619         (EXPL_FINITE): Likewise.
25620         (FLDLOG): Likewise.
25621         (c0): Likewise.
25622         (c1): Likewise.
25623         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25624         Adjust comments for base varying.
25625         (__expl_finite): Change alias to EXPL_FINITE.
25626         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25627         e_expl.S.
25628         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25629         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25630         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25631         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25632         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25633         USE_AS_EXP10L.
25634         (EXPL_FINITE): Likewise.
25635         (FLDLOG): Likewise.
25636         (c0): Likewise.
25637         (c1): Likewise.
25638         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25639         Adjust comments for base varying.
25640         (__expl_finite): Change alias to EXPL_FINITE.
25641         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25642         tests for bugs.
25643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25645         [BZ #14064]
25646         * math/libm-test.inc (check_float_internal): Correct ulp
25647         calculation for subnormal expected results.
25649 2012-05-06  Andreas Jaeger  <aj@suse.de>
25651         * Makeconfig (+math-flags): New, set to -frounding-math.
25652         (+cflags): Add +math-flags so that all of glibc gets compiled with
25653         it.
25655         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25657 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25659         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25660         Disable one test.
25662         [BZ #13787]
25663         [BZ #13922]
25664         [BZ #14036]
25665         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25666         (__ieee754_expl): Allow for and saturate large arguments.
25667         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25668         (u_threshold): Likewise.
25669         (__exp): Call __ieee754_exp before checking for overflow and
25670         underflow.
25671         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25672         (u_threshold): Likewise.
25673         (__expf): Call __ieee754_expf before checking for overflow and
25674         underflow.
25675         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25676         (u_threshold): Likewise.
25677         (__expl): Call __ieee754_expl before checking for overflow and
25678         underflow.
25679         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25680         (__ieee754_expl): Allow for and saturate large arguments.
25681         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25682         missing overflow exception on overflow.
25683         (expm1_test): Do not allow missing overflow exception on overflow.
25685         * sysdeps/i386/fpu/e_expl.c: Move to ...
25686         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25687         rather than using inline asm.
25688         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25689         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25690         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25692         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25693         (nice): Likewise.
25694         (poll): Likewise.
25695         (signal): Likewise.
25696         (time): Likewise.
25697         (times): Likewise.
25699 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25701         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25702         sysdeps/unix/common/syscalls.list.
25703         (fchmod): Likewise.
25704         (fchown): Likewise.
25705         (ftruncate): Likewise.
25706         (getrusage): Likewise.
25707         (gettimeofday): Likewise.
25708         (setpgid): Likewise.
25709         (setregid): Likewise.
25710         (setreuid): Likewise.
25711         (sigaction): Likewise.
25712         (truncate): Likewise.
25713         (vhangup): Likewise.
25714         * sysdeps/unix/common/syscalls.list: Remove file.
25715         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25716         * sysdeps/unix/sysv/linux/Implies: Likewise.
25718 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25720         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25722         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25723         Moved to ...
25724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25725         Here.
25726         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25727         to ...
25728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25729         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25730         to ...
25731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25732         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25733         to ...
25734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25735         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25736         to ...
25737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25738         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25739         to ...
25740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25741         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25742         to ...
25743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25744         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25745         to ...
25746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25747         Here.
25748         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25749         to ...
25750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25751         Here.
25752         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25753         to ...
25754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25755         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25756         Moved to ...
25757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25758         Here.
25759         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25760         to ...
25761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25763 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25765         * sysdeps/unix/common/bits/dirent.h: Remove file.
25766         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25768         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25769         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25770         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25771         * sysdeps/unix/bsd/isatty.c: Likewise.
25772         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25773         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25774         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25776 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25778         [BZ #13563]
25779         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25780         long double comparison inaccuracies.
25781         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25784 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25786         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25787         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25789 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25791         [BZ #14049]
25792         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25793         nonzero digits before rounding a hex value.
25794         * stdlib/tst-strtod.c (tests): Add another test.
25796 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25798         * sysdeps/s390/fpu/libm-test-ulps: Update.
25800 2012-05-03  Andreas Jaeger  <aj@suse.de>
25802         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25803         does not get optimized out.
25804         (malloc_opt_barrier): New.
25806 2012-05-03  Andreas Jaeger  <aj@suse.de>
25807             Roland McGrath  <roland@hack.frob.com>
25809         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25810         intermediate file deletion.
25811         (generated): Add .symlist files.
25813 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25815         [BZ #13775]
25816         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25817         Redirect under this condition.
25818         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25819         [__USE_GNU] (__dprintf_chk): Not under this condition.
25820         [__USE_GNU] (__vdprintf_chk): Likewise.
25821         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25822         under this condition.
25823         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25824         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25825         [__USE_XOPEN2K8] (vdprintf): Likewise.
25826         [__USE_GNU] (__dprintf_chk): Not under this condition.
25827         [__USE_GNU] (__vdprintf_chk): Likewise.
25828         [__USE_GNU] (dprintf): Likewise.
25829         [__USE_GNU] (vdprintf): Likewise.
25831 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25833         * elf/Makefile (common-generated): Set this instead of generated for
25834         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25835         $(all-built-dso)-derived lists.
25837 2012-05-03  Andreas Jaeger  <aj@suse.de>
25839         * sysdeps/i386/fpu/libm-test-ulps: Update.
25841         * FAQ: Removed.
25842         * FAQ.in: Likewise.
25843         * scripts/gen-FAQ.pl: Likewise.
25844         * manual/install.texi (Installation): Point to online location of
25845         FAQ.
25846         * Makefile (files-for-dist): Remove FAQ.
25847         (FAQ): Remove.
25849 2012-05-02  Allan McRae  <allan@archlinux.org>
25851         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25852         (LDFLAGS-reldepmod5.so): Likewise.
25853         (LDFLAGS-reldep6mod1.so): Likewise.
25854         (LDFLAGS-reldep6mod4.so): Likewise.
25855         (LDFLAGS-reldep8mod3.so): Likewise.
25856         (LDFLAGS-unload4mod1.so): Likewise.
25857         (LDFLAGS-unload4mod2.so): Likewise.
25858         (LDFLAGS-tst-initorder): Likewise.
25859         (LDFLAGS-tst-initordera2.so): Likewise.
25860         (LDFLAGS-tst-initordera3.so): Likewise.
25861         (LDFLAGS-tst-initordera4.so): Likewise.
25862         (LDFLAGS-tst-initorderb2.so): Likewise.
25863         (LDFLAGS-noload): Likewise.
25864         (LDFLAGS-next): Likewise.
25865         (LDFLAGS-order2mod1.so): Likewise.
25866         (LDFLAGS-order2mod2.so): Likewise.
25867         (LDFLAGS-tst-initorder2): Likewise.
25868         (LDFLAGS-tst-initorder2a.so): Likewise.
25869         (LDFLAGS-tst-initorder2b.so): Likewise.
25870         (LDFLAGS-tst-initorder2c.so): Likewise.
25871         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25873 2012-05-02  David S. Miller  <davem@davemloft.net>
25875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25877 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25879         [BZ #14055]
25880         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25882 2012-05-02  Andreas Jaeger  <aj@suse.de>
25884         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25885         since we manipulate rounding mode.
25886         (CPPFLAGS-test-idouble.c): Likewise.
25887         (CPPFLAGS-test-ifloat.c): Likewise.
25888         (CFLAGS-test-ldouble.c): Likewise.
25889         (CFLAGS-test-double.c): Likewise.
25890         (CFLAGS-test-float.c): Likewise.
25891         (CFLAGS-test-misc.c): Likewise.
25892         (CFLAGS-test-test-fenv.c): Likewise.
25894 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25896         [BZ #2550]
25897         [BZ #2570]
25898         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25899         comparisons to determine direction to adjust input.
25901 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25903         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25904         output to the target.
25906         * scripts/localplt.awk: New file.
25907         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25908         (check-localplt-CFLAGS): Variable removed.
25909         ($(all-built-dso:=.jmprel)): New static pattern rule.
25910         (generated): Add those targets.
25911         (localplt-built-dso): New variable.
25912         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25914         * elf/check-localplt.c: File removed.
25916         * scripts/check-execstack.awk: New file.
25917         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25918         (check-execstack-CFLAGS): Variable removed.
25919         ($(objpfx)check-execstack.h): Target removed.
25920         ($(objpfx)execstack-default): New target.
25921         (generated): Add that instead of check-execstack.h.
25922         ($(all-built-dso:=.phdr)): New static pattern rule.
25923         (generated): Add those targets.
25924         * elf/check-execstack.c: File removed.
25926         * scripts/check-textrel.awk: New file.
25927         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25928         (check-textrel-CFLAGS): Variable removed.
25929         (all-built-dso): Use := to define.o
25930         ($(all-built-dso:=.dyn)): New static pattern rule.
25931         (generated): Add those targets.
25932         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25933         * config.make.in (READELF): New substituted variable.
25934         * elf/check-textrel.c: File removed.
25936 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25938         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25939         allow.
25940         * conform/data/ctype.h-data [C99-based standards] (isblank):
25941         Expect function.
25942         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25943         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25944         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25945         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25946         Specify type.  Require positive value.
25947         (EILSEQ): Likewise.
25948         (ERANGE): Likewise.
25949         [ISO || POSIX] (EILSEQ): Do not expect.
25950         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25951         Specify type.  Require positive value.
25952         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25953         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25954         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25955         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25956         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25957         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25958         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25959         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25960         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25961         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25962         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25963         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25964         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25965         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25966         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25967         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25968         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25969         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25970         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25971         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25972         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25973         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25974         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25975         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25976         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25977         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25978         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25979         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25980         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25981         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25982         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25983         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25984         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25985         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25986         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25987         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25988         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25989         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25990         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25991         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25992         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25993         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25994         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25995         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25996         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25997         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25998         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25999         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26000         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26001         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26002         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26003         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26004         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26005         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26006         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26007         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26008         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26009         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26010         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26011         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26012         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26013         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26014         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26015         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26016         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26017         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26018         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26019         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26020         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26021         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26022         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26023         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26024         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26025         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26026         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26027         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26028         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26029         Require >= 2.
26030         (FLT_ROUNDS): Expect as macro, not constant.
26031         (FLT_MANT_DIG): Use macro-int-constant.
26032         (DBL_MANT_DIG): Likewise.
26033         (LDBL_MANT_DIG): Likewise.
26034         (FLT_DIG): Likewise.
26035         (DBL_DIG): Likewise.
26036         (LDBL_DIG): Likewise.
26037         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26038         (DBL_MIN_EXP): Likewise.
26039         (LDBL_MIN_EXP): Likewise.
26040         (FLT_MAX_EXP): Use macro-int-constant.
26041         (DBL_MAX_EXP): Likewise.
26042         (LDBL_MAX_EXP): Likewise.
26043         (FLT_MAX_10_EXP): Likewise.
26044         (DBL_MAX_10_EXP): Likewise.
26045         (LDBL_MAX_10_EXP): Likewise.
26046         (FLT_MAX): Use macro-constant.
26047         (DBL_MAX): Likewise.
26048         (LDBL_MAX): Likewise.
26049         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26050         (DBL_EPSILON): Likewise.
26051         (LDBL_EPSILON): Likewise.
26052         (FLT_MIN): Likewise.
26053         (DBL_MIN): Likewise.
26054         (LDBL_MIN): Likewise.
26055         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26056         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26057         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26058         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26059         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26060         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26061         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26062         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26063         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26064         [ISO11] (FLT_TRUE_MIN): Likewise.
26065         [ISO11] (LDBL_TRUE_MIN): Likewise.
26066         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26067         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26068         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26069         (SCHAR_MAX): Likewise.
26070         (UCHAR_MAX): Likewise.
26071         (CHAR_MIN): Likewise.
26072         (CHAR_MAX): Likewise.
26073         (MB_LEN_MAX): Use macro-int-constant.
26074         (SHRT_MIN): Use macro-int-constant.  Specify type.
26075         (SHRT_MAX): Likewise.
26076         (USHRT_MAX): Likewise.
26077         (INT_MAX): Likewise.
26078         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26079         bound negative.
26080         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26081         bound with "U".
26082         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26083         bound with "L".
26084         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26085         bound negative.  Suffix upper bound with "L".
26086         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26087         bound with "UL".
26088         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26089         Specify type.
26090         [C99-based standards] (LLONG_MAX): Likewise.
26091         [C99-based standards] (ULLONG_MAX): Likewise.
26092         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26093         == 0.
26094         [ISO11] (max_align_t): Require type.
26095         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26097         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26098         from $CFLAGS, without defining away __attribute__ calls.
26099         (checknamespace): Use $CFLAGS_namespace.
26101         * conform/conformtest.pl (@keywords): Only include C99 keywords
26102         for standards based on C99 or C11.
26104         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26105         Disable tests.
26106         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26107         UNIX98]: Likewise.
26109         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26110         usability of symbols in #if.
26112         * conform/conformtest.pl: If macro or constant types start
26113         "promoted:", expect the symbol to be of the following type
26114         promoted by the integer promotions.
26116         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26117         in one place.  Also handle "macro-constant".
26119         * conform/conformtest.pl: Only accept expected macro values with
26120         "==".  Parse all "macro" lines in one place.
26121         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26123         * conform/conformtest.pl: Handle braced types on "constant" lines
26124         instead of handling "typed-constant".
26125         * conform/data/signal.h-data: Use "constant" instead of
26126         "typed-constant".
26128         * conform/conformtest.pl: Handle "optional-" at start of lines in
26129         one place rather than duplicating several cases.  Handle each
26130         format of "macro" line with initial "optional-".
26132         * conform/conformtest.pl: Only accept expected constant or
26133         optional-constant values with "==".  Parse all "constant" lines in
26134         one place.  Parse all "optional-constant" lines in one place.
26135         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26136         * conform/data/fmtmsg.h-data: Likewise.
26137         * conform/data/netinet/in.h-data: Likewise.
26138         * conform/data/tar.h-data: Likewise.
26139         * conform/data/limits.h-data: Use "==" form on "constant" and
26140         "optional-constant" lines.
26142         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26143         Use -std=c99 for XOPEN2K.
26144         (@knownproblems): Remove.
26145         (newtoken): Don't check %isknown.
26147         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26148         Do not expect macro.
26149         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26150         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26151         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26152         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26153         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26154         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26155         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26156         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26157         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26158         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26159         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26160         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26161         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26162         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26163         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26164         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26165         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26166         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26167         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26168         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26169         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26170         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26171         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26172         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26173         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26174         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26175         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26176         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26177         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26178         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26179         [XPG3] (acosh): Likewise.
26180         [XPG3] (asinh): Likewise.
26181         [XPG3] (atanh): Likewise.
26182         [XPG3] (cbrt): Likewise.
26183         [XPG3] (expm1): Likewise.
26184         [XPG3] (ilogb): Likewise.
26185         [XPG3] (log1p): Likewise.
26186         [XPG3] (logb): Likewise.
26187         [XPG3] (nextafter): Likewise.
26188         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26189         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26190         [XPG3] (remainder): Likewise.
26191         [XPG3] (rint): Likewise.
26192         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26193         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26194         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26195         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26196         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26197         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26198         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26199         [UNIX98 || XOPEN2K] (scalb): Expect.
26200         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26201         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26202         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26203         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26204         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26205         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26206         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26207         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26208         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26209         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26210         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26211         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26212         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26213         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26214         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26215         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26216         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26217         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26218         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26219         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26220         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26221         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26222         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26223         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26224         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26225         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26226         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26227         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26228         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26229         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26230         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26231         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26232         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26233         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26234         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26235         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26236         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26237         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26238         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26239         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26240         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26241         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26242         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26243         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26244         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26245         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26246         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26247         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26248         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26249         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26250         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26251         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26252         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26253         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26254         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26255         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26256         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26257         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26258         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26259         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26260         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26261         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26262         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26263         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26264         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26265         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26266         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26267         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26268         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26269         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26270         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26271         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26272         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26273         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26274         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26275         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26276         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26277         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26278         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26279         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26280         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26281         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26282         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26283         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26284         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26285         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26286         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26287         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26288         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26289         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26290         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26291         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26292         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26293         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26294         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26295         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26296         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26297         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26298         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26299         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26300         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26301         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26302         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26303         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26304         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26305         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26306         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26307         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26308         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26309         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26310         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26311         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26312         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26313         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26314         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26315         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26316         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26317         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26318         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26319         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26320         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26321         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26322         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26323         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26324         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26325         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26326         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26327         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26328         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26329         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26330         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26331         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26332         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26333         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26334         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26335         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26336         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26338         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26339         _XOPEN_SOURCE_EXTENDED for XPG4.
26341         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26343         * Makeconfig (localtime): Remove variable.
26344         (inst_localtime-file): Likewise.
26346 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26349         Update.
26350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26351         Update.
26352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26353         Update.
26354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26355         Update.
26356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26357         Update.
26358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26359         Update.
26360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26361         Update.
26362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26363         Update.
26364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26365         Update.
26367 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26369         [BZ #2550]
26370         [BZ #2570]
26371         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26372         comparisons to determine direction to adjust input.
26373         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26374         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26375         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26376         Likewise.
26377         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26378         Likewise.
26379         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26380         Likewise.
26381         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26382         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26383         Likewise.
26384         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26385         Likewise.
26386         * math/libm-test.inc (nexttoward_test): Add more tests.
26388 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26390         [BZ #14040]
26391         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26392         in version GLIBC_2.1, not GLIBC_2.0.
26393         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26394         Likewise.
26396 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26398         [BZ #13942]
26399         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26400         (1 - x) * (1 + x).
26401         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26402         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26403         * math/libm-test.inc (acos_test): Add more tests.
26404         (asin_test): Likewise.
26405         * sysdeps/i386/fpu/libm-test-ulps: Update.
26406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26408         [BZ #14034]
26409         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26410         of square root.
26411         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26412         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26413         * math/libm-test.inc (acos_test_tonearest): New function.
26414         (acos_test_towardzero): Likewise.
26415         (acos_test_downward): Likewise.
26416         (acos_test_upward): Likewise.
26417         (asin_test_tonearest): Likewise.
26418         (asin_test_towardzero): Likewise.
26419         (asin_test_downward): Likewise.
26420         (asin_test_upward): Likewise.
26421         (main): Call the new functions.
26422         * sysdeps/i386/fpu/libm-test-ulps: Update.
26423         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26425         [BZ #13884]
26426         [BZ #13924]
26427         * math/e_exp10.c: Include <float.h>.
26428         (__ieee754_exp10): Handle underflow here rather than multiplying
26429         large negative argument by M_LN10.
26430         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26431         of __ieee754_expf.
26432         * math/e_exp10l.c: Include <float.h>.
26433         (__ieee754_exp10l): Handle underflow here rather than multiplying
26434         large negative argument by M_LN10l.
26435         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26436         spurious overflow exception on underflow.
26438 2012-04-29  Marek Polacek  <polacek@redhat.com>
26440         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26441         (__fortify_function): New macro.
26442         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26443         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26444         __extern_always_inline.
26445         * libio/bits/stdio2.h: Likewise.
26446         * libio/bits/stdio.h: Likewise.
26447         * string/string.h: Likewise.
26448         * string/bits/string3.h: Likewise.
26449         * include/stdio.h: Likewise.
26450         * stdlib/bits/stdlib.h: Likewise.
26451         * stdlib/stdlib.h: Likewise.
26452         * rt/bits/mqueue2.h: Likewise.
26453         * rt/mqueue.h: Likewise.
26454         * posix/bits/unistd.h: Likewise.
26455         * posix/unistd.h: Likewise.
26456         * io/bits/poll2.h: Likewise.
26457         * io/bits/fcntl2.h: Likewise.
26458         * io/fcntl.h: Likewise.
26459         * io/sys/poll.h: Likewise.
26460         * misc/bits/syslog.h: Likewise.
26461         * misc/bits/syslog-ldbl.h: Likewise.
26462         * misc/sys/syslog.h: Likewise.
26463         * socket/bits/socket2.h: Likewise.
26464         * socket/sys/socket.h: Likewise.
26465         * debug/tst-chk1.c: Likewise.
26466         * wcsmbs/bits/wchar2.h: Likewise.
26467         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26468         * wcsmbs/wchar.h: Likewise.
26470 2012-04-29  Andreas Jaeger  <aj@suse.de>
26472         * Makerules (tests): Remove enable-check-abi protection.
26473         (check-abi-warn): Remove.
26474         (check-abi-%): Remove check-abi-warn usage.
26476         * configure.in: Remove check-abi configure option.
26477         * configure: Regenerated.
26478         * config.make.in (enable-check-abi): Remove.
26480 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26482         [BZ #14033]
26483         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26484         double functions to double *_finite functions.
26486         [BZ #13941]
26487         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26488         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26489         LDBL_MIN_EXP.
26490         * stdio-common/Makefile (tests): Add tst-sprintf3.
26491         * stdio-common/tst-sprintf3.c: New file.
26493         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26494         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26496 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26498         * conform/conformtest.pl: Remove duplicate typed-constant
26499         handling.
26501 2012-04-28  David S. Miller  <davem@davemloft.net>
26503         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26504         (check-abi-%): Remove AWK script prerequisite and explicit
26505         abilist directory.
26506         (check-abi): Rewrite to just diff the symlist with the abilist.
26507         (config-tls, config-abi-config): Delete, no longer used.
26508         (update-abi-%): Remove AWK script and explicit abilist directory.
26509         (update-abi): Rewrite to simply compare and conditionally copy the
26510         symlist and the sysdep abilist file.  Remove update-abi-config
26511         checks.
26512         * abilist/ld.abilist: Remove.
26513         * abilist/libBrokenLocale.abilist: Remove.
26514         * abilist/libanl.abilist: Remove.
26515         * abilist/libcrypt.abilist: Remove.
26516         * abilist/libdl.abilist: Remove.
26517         * abilist/librt.abilist: Remove.
26518         * abilist/libthread_db.abilist: Remove.
26519         * abilist/libutil.abilist: Remove.
26520         * scripts/extract-abilist.awk: Remove.
26521         * scripts/merge-abilist.awk: Remove.
26522         * sysdeps/generic/libcidn.abilist: New file.
26523         * sysdeps/generic/libnss_compat.abilist: New file.
26524         * sysdeps/generic/libnss_db.abilist: New file.
26525         * sysdeps/generic/libnss_dns.abilist: New file.
26526         * sysdeps/generic/libnss_files.abilist: New file.
26527         * sysdeps/generic/libnss_hesiod.abilist: New file.
26528         * sysdeps/generic/libnss_nis.abilist: New file.
26529         * sysdeps/generic/libnss_nisplus.abilist: New file.
26530         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26531         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26532         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26533         file.
26534         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26535         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26536         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26537         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26538         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26539         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26540         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26541         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26542         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26543         file.
26544         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26545         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26546         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26547         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26548         file.
26549         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26550         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26551         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26552         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26553         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26554         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26555         file.
26556         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26557         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26558         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26559         file.
26560         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26562         New file.
26563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26564         New file.
26565         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26566         New file.
26567         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26568         New file.
26569         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26570         New file.
26571         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26572         New file.
26573         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26574         New file.
26575         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26576         New file.
26577         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26578         New file.
26579         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26580         New file.
26581         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26582         New file.
26583         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26584         New file.
26585         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26586         New file.
26587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26588         file.
26589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26590         New file.
26591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26592         New file.
26593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26594         file.
26595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26596         New file.
26597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26598         New file.
26599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26600         file.
26601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26602         New file.
26603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26604         New file.
26605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26606         New file.
26607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26608         New file.
26609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26610         New file.
26611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26612         New file.
26613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26615         file.
26616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26617         New file.
26618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26619         file.
26620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26621         file.
26622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26623         file.
26624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26625         file.
26626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26627         file.
26628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26629         New file.
26630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26631         file.
26632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26633         file.
26634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26635         New file.
26636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26637         file.
26638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26640         file.
26641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26642         New file.
26643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26644         file.
26645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26646         file.
26647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26648         file.
26649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26650         file.
26651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26652         file.
26653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26654         New file.
26655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26656         file.
26657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26658         file.
26659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26660         New file.
26661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26662         file.
26663         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26664         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26665         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26666         file.
26667         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26668         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26669         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26670         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26671         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26672         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26673         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26674         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26675         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26676         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26679         file.
26680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26681         New file.
26682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26683         file.
26684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26685         file.
26686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26687         file.
26688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26689         file.
26690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26691         file.
26692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26693         New file.
26694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26695         New file.
26696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26697         file.
26698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26699         New file.
26700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26701         file.
26702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26704         file.
26705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26706         New file.
26707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26708         file.
26709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26710         file.
26711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26712         file.
26713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26714         file.
26715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26716         file.
26717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26718         New file.
26719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26720         New file.
26721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26722         file.
26723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26724         New file.
26725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26726         file.
26728 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26730         * conform/conformtest.pl: Fix typo in handling typed-constant from
26731         allow-header.
26733 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26735         * README: Cut down references to pre-2.6 Linux kernels and
26736         Linuxthreads.  Update lists of configurations in libc and ports
26737         and sort alphabetically.  Say "or newer" with Linux kernel version
26738         requirements.
26740         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26742 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26744         [BZ #887]
26745         * math/libm-test.inc (logb_test_downward): New test to expose
26746         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26747         rounding mode.
26749 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26751         [BZ #14027]
26752         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26753         to be done.
26754         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26755         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26757 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26759         * sysdeps/unix/i386/brk.S: Remove file.
26760         * sysdeps/unix/i386/dl-brk.S: Likewise.
26761         * sysdeps/unix/i386/pipe.S: Likewise.
26762         * sysdeps/unix/i386/sigreturn.S: Likewise.
26763         * sysdeps/unix/i386/syscall.S: Likewise.
26764         * sysdeps/unix/i386/vfork.S: Likewise.
26765         * sysdeps/unix/i386/wait.S: Likewise.
26767         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26768         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26770         * configure.in (arm*-none*): Do not allow without
26771         --enable-hacker-mode.
26772         (netbsd*): Remove case setting base_os.
26773         (386bsd*): Likewise.
26774         (freebsd*): Likewise.
26775         (bsdi*): Likewise.
26776         (osf*): Likewise.
26777         (sunos*): Likewise.
26778         (ultrix*): Likewise.
26779         (newsos*): Likewise.
26780         (dynix*): Likewise.
26781         (*bsd*): Likewise.
26782         (sysv*): Likewise.
26783         (isc*): Likewise.
26784         (esix*): Likewise.
26785         (sco*): Likewise.
26786         (minix*): Likewise.
26787         (irix4*): Likewise.
26788         (irix6*): Likewise.
26789         (solaris[2-9]*): Likewise.
26790         (none): Likewise.
26791         * configure: Regenerated.
26793 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26795         [BZ #11521]
26796         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26797         overflow or cancellation in calculating denominator.
26798         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26799         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26800         down expression to avoid unexpected rounding in newer GCCs.
26801         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26803 2012-04-26  David S. Miller  <davem@davemloft.net>
26805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26806         long-double compat symbols.
26807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26821 2012-04-25  David S. Miller  <davem@davemloft.net>
26823         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26824         HWCAP_* values only after the memory barriers have been defined.
26825         (atomic_full_barrier): Define.
26826         (atomic_read_barrier): Define.
26827         (atomic_write_barrier): Define.
26829 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26831         * shlib-versions: Add libgcc_s version information.
26832         * sysdeps/generic/libgcc_s.h: Remove.
26833         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26834         libgcc_s.h.
26835         * sysdeps/gnu/unwind-resume.c: Likewise.
26836         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26838 2012-04-25  David S. Miller  <davem@davemloft.net>
26840         * sysdeps/unix/sparc/brk.S: Delete.
26841         * sysdeps/unix/sparc/dl-brk.S: Delete.
26842         * sysdeps/unix/sparc/pipe.S: Delete.
26843         * sysdeps/unix/sparc/sysdep.S: Delete.
26844         * sysdeps/unix/sparc/sysdep.h: Delete.
26845         * sysdeps/unix/sparc/vfork.S: Delete.
26846         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26847         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26848         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26849         ret_ERRVAL, r0, r1, MOVE): Define.
26850         (JUMPTARGET): Remove.
26851         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26852         sysdeps/unix/sparc/sysdep.h
26853         (ENTRY, END): Remove.
26854         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26856 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26858         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26859         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26860         -DIS_IN_build.
26862         * timezone/README: Update upstream location and email address for
26863         tzcode and tzdata.
26864         * timezone/zdump.c: Update from tzcode 2012b.
26865         * timezone/zic.c: Likewise.
26867         * configure.in (libc_cv_as_needed): Remove test.
26868         * configure: Regenerated.
26869         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26870         conditional definition.
26871         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26872         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26873         * config.make.in (have-as-needed): Remove variable.
26875 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26876             Paul Pluzhnikov  <ppluzhnikov@google.com>
26878         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26879         strings correctly.
26881 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26883         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26884         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26885         * sysdeps/sh/strlen.S: Likewise.
26887 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26889         * sysdeps/unix/fork.S: Remove file.
26890         * sysdeps/unix/i386/fork.S: Likewise.
26891         * sysdeps/unix/sparc/fork.S: Likewise.
26893         * sysdeps/unix/system.c: Remove file.
26894         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26896         * sysdeps/unix/getegid.S: Remove file.
26897         * sysdeps/unix/geteuid.S: Likewise.
26899 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26901         * scripts/check-localplt.awk: New file.
26902         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26903         of diff.
26904         * scripts/data/localplt-generic.data: Add a comment.
26906         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26907         NODE when __dir_mkfile failed.
26908         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26909         Reported by Ludovic Courtès <ludo@gnu.org>.
26911 2012-04-24  Andreas Jaeger  <aj@suse.de>
26913         * Makerules (common-clean): Also remove gen-as-const-headers
26914         files.
26916 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26918         * Makerules (native-compile): Do not change working directory for
26919         build.  Use $(OUTPUT_OPTION) in command.
26920         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26922 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26924         [BZ #13886]
26925         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26926         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26927         * math/libm-test.inc (floor_test): Add more tests.
26928         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26930 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26932         * sysdeps/unix/getdents.c: Remove file.
26933         * sysdeps/unix/sysv/getdents.c: Likewise.
26934         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26936         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26937         sysdeps/unix/mman/syscalls.list.
26938         (mmap): Likewise.
26939         (mprotect): Likewise.
26940         (msync): Likewise.
26941         (munmap): Likewise.
26942         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26943         * sysdeps/unix/mman/syscalls.list: Remove.
26944         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26946         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26947         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26948         * configure: Regenerated.
26949         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26950         $(libgcc_s_suffix).
26951         * config.make.in (libgcc_s_suffix): Remove variable.
26953 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26955         * sysdeps/unix/sysv/gethostname.c: Move to ...
26956         * sysdeps/posix/gethostname.c: ... here.
26958         * sysdeps/unix/execve.S: Remove file.
26960         * sysdeps/unix/_exit.S: Remove file.
26962 2012-04-23  Andreas Jaeger  <aj@suse.de>
26964         [BZ #13739]
26965         * manual/Makefile: Remove make dist support, there's no
26966         need for a stand-alone documentation tar ball.
26967         (TEXI2DVI): Define always, it's not in Makeconfig.
26968         (dist): Removed.
26969         (tar-it): Removed.
26970         (edition): Removed.
26971         (glibc-doc-$(edition).tar): Removed
26972         (%.Z): Removed.
26973         (%.gz): Removed.
26974         (%.uu): Removed.
26975         (ETAGS): Remove, it's in Makeconfig.
26976         (move-if-change): Remove, it's in Makeconfig.
26978 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26980         [BZ #13970]
26981         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26982         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26983         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26984         (strtod_l, strtof_l, strtold_l): Remove __wur.
26985         It is not necessarily an error to ignore strtol's return value.
26986         One can reliably look at the stored endptr to decide whether
26987         the number had valid syntax.
26989 2012-04-21  Andreas Jaeger  <aj@suse.de>
26991         [BZ #13739]
26992         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26994 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26996         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26997         * sysdeps/unix/sysv/Versions: Remove file.
26999 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27001         [BZ #13927]
27002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27004 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27006         [BZ #7064]
27007         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27008         version from __vm86.
27010 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27012         * sysdeps/unix/common/lxstat.c: Remove file.
27013         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27015         * sysdeps/unix/sysv/Makefile: Remove file.
27017         * sysdeps/unix/sysv/direct.h: Remove file.
27019         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27020         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27021         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27022         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27023         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27024         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27025         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27027         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27029         * sysdeps/unix/xmknod.c: Remove file.
27030         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27032         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27034         * sysdeps/unix/sysv/i386/time.S: Remove file.
27036         * sysdeps/unix/fxstat.c: Remove file.
27037         * sysdeps/unix/xstat.c: Likewise.
27038         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27040         * sysdeps/unix/sysv/sigaction.c: Remove file.
27042         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27043         (sysdep_headers): Remove variable.
27044         [termio.h not in sysdep_headers] (generated): Likewise.
27045         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27046         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27047         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27048         * sysdeps/unix/sysv/tcflow.c: Likewise.
27049         * sysdeps/unix/sysv/tcflush.c: Likewise.
27050         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27051         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27052         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27053         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27054         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27056         * sysdeps/unix/siglist.c: Remove file.
27058         * sysdeps/unix/getppid.S: Remove file.
27060         * sysdeps/unix/mkdir.c: Remove file.
27061         * sysdeps/unix/rmdir.c: Likewise.
27063 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27065         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27066         ERR_MAX value.
27067         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27068         errlist-compat value.
27070 2012-04-18  David S. Miller  <davem@davemloft.net>
27072         * sysdeps/generic/memcopy.h (reg_char): Delete.
27073         * debug/strcat_chk.c: Use char, not reg_char.
27074         * debug/strcpy_chk.c: Likewise.
27075         * debug/strncat_chk.c: Likewise.
27076         * debug/strncpy_chk.c: Likewise.
27077         * string/memchr.c: Likewise.
27078         * string/memrchr.c: Likewise.
27079         * string/rawmemchr.c: Likewise.
27080         * string/strcat.c: Likewise.
27081         * string/strchr.c: Likewise.
27082         * string/strchrnul.c: Likewise.
27083         * string/strcmp.c: Likewise.
27084         * string/strcpy.c: Likewise.
27085         * string/strncat.c: Likewise.
27086         * string/strncmp.c: Likewise.
27087         * string/strncpy.c: Likewise.
27089 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27091         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27092         __builtin_memcopy is called when src and dest ranges are known to not
27093         overlap.
27095 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27097         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27098         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27099         fwd_align_merge macro call.
27100         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27101         bwd_align_merge macro call.
27102         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27104 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27106         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27107         bwd_align_merge macros.
27108         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27109         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27110         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27112 2012-04-18  David S. Miller  <davem@davemloft.net>
27114         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27116 2012-04-18  Andreas Jaeger  <aj@suse.de>
27118         [BZ# 6794]
27119         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27120         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27121         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27123         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27124         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27125         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27127         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27128         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27129         Adjust for changed ldbl-128 files.
27131         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27132         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27133         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27135 2012-04-17  David S. Miller  <davem@davemloft.net>
27137         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27139 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27141         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27142         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27143         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27144         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27145         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27146         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27148 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27150         [BZ #6794]
27151         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27152         * math/libm-test.inc: Add ilogb errno and exception tests.
27153         * math/w_ilogb.c: New file: ilogb wrapper.
27154         * math/w_ilogbf.c: New file: ilogbf wrapper.
27155         * math/w_ilogbl.c: New file: ilogbl wrapper.
27156         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27157         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27158         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27159         exception being thrown with 0.0 as argument.
27160         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27161         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27162         exception being thrown with 0.0 as argument.
27163         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27164         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27165         exception being thrown with 0.0 as argument.
27166         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27167         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27168         exception being thrown with 0.0 as argument.
27169         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27170         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27171         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27172         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27173         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27174         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27175         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27176         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27177         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27179 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27181         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27182         with altivec.
27184 2012-04-16  Marek Polacek  <polacek@redhat.com>
27186         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27188 2012-04-16  Marek Polacek  <polacek@redhat.com>
27190         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27191         operands of fdivp instruction.
27193 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27195         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27196         * elf/tst-auditmod3b.c: Likewise.
27197         * elf/tst-auditmod4b.c: Likewise.
27198         * elf/tst-auditmod5b.c: Likewise.
27199         * elf/tst-auditmod6b.c: Likewise.
27200         * elf/tst-auditmod6c.c: Likewise.
27201         * elf/tst-auditmod7b.c: Likewise.
27202         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27203         * sysdeps/x86_64/preconfigure.in: Likewise.
27204         * sysdeps/x86_64/preconfigure: Regenerated.
27206 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27208         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27209         __ILP32__.
27211 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27213         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27214         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27216 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27218         [BZ #13973]
27219         * locale/iso-639.def: Fix gl language name. Spotted by
27220         Yaron Shahrabani.
27222 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27224         [BZ #2074]
27225         * libio/libio.h (__io_write_fn): Update comment.
27227 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27229         [BZ #2074]
27230         * stdio.texi (Hook Functions): The user provided writer function
27231         is not allowed to return -1.
27233 2012-04-11  David S. Miller  <davem@davemloft.net>
27235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27237 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27239         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27240         Add a leading slash to rtkaio.
27242 2012-04-11  Jim Meyering  <meyering@redhat.com>
27244         [BZ #11959]
27245         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27246         It is not necessarily an error to ignore fwrite's return
27247         value.  One can reliably use ferror to test for errors after
27248         the fact.
27250 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27252         * bits/types.h (__snseconds_t): New type.
27253         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27255         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27256         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27257         (__SNSECONDS_T_TYPE): Likewise.
27258         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27259         (__SNSECONDS_T_TYPE): Likewise.
27260         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27261         (__SNSECONDS_T_TYPE): Likewise.
27263 2012-04-10  Andreas Jaeger  <aj@suse.de>
27265         [BZ #2636]
27266         * manual/time.texi (Processor Time): Return type of times is
27267         elapsed real time since an arbitrary point in the past.
27268         (CPU Time): Move CLK_TCK from here...
27269         (Processor Time): ...to here.  Correct description.
27270         * manual/conf.texi (Constants for Sysconf): Correct description of
27271         _SC_CLK_TCK.
27273 2012-04-10  David S. Miller  <davem@davemloft.net>
27275         [BZ #13967]
27276         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27277         where the is a gap between DT_REL(A) and DT_JMPREL.
27279 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27281         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27282         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27283         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27285 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27287         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27288         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27289         (dl_main): Handle --inhibit-cache.
27290         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27291         _dl_inhibit_cache.
27292         * elf/dl-load.c (_dl_map_object): Use it.
27293         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27295 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27297         [BZ #13872]
27298         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27299         (__ieee754_powl): Saturate large exponents rather than testing for
27300         overflow of y*log2(x).
27301         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27302         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27303         exceptions.
27305         [BZ #11521]
27306         * math/s_ctan.c: Include <float.h>.
27307         (__ctan): Avoid internal overflow or cancellation in calculating
27308         denominator.
27309         * math/s_ctanf.c: Likewise.
27310         * math/s_ctanl.c: Likewise.
27311         * math/s_ctanh.c: Likewise.
27312         * math/s_ctanhf.c: Likewise.
27313         * math/s_ctanhl.c: Likewise.
27314         * math/libm-test.inc (ctan_test): Add more tests.
27315         (ctanh_test): Likewise.
27316         * sysdeps/i386/fpu/libm-test-ulps: Update.
27317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27319 2012-04-09  Andreas Jaeger  <aj@suse.de>
27321         [BZ #6894]
27322         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27323         is an optional BSD extension.
27325         [BZ #10254]
27326         * manual/stdio.texi (Opening Streams): Document additional fopen
27327         parameters.
27329 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27331         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27332         %eax without telling the compiler.
27334 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27336         [BZ # 13963]
27337         * manual/install.texi: Use sourceware.org.
27339 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27341         [BZ #13873]
27342         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27343         (__ieee754_pow): Generate overflow and underflow using huge*huge
27344         and tiny*tiny rather than just returning constant infinity or zero
27345         for large exponents.
27346         * math/libm-test.inc (pow_test): Require overflow exceptions for
27347         applicable cases of large exponents.
27349         [BZ #706]
27350         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27351         (__ieee754_pow): Use iterative multiplication algorithm only for
27352         integer exponents with absolute value below 1024.  Check for odd
27353         integer exponents when using algorithm for real exponents.
27354         * math/libm-test.inc (pow_test): Add more tests.
27355         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27357 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27359         [BZ #13705]
27360         * math/libm-test.inc (exp_test): Do not allow overflow exception
27361         on underflow test.
27363 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27365         [BZ #13705]
27366         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27367         instead of __kernel_standard_f.
27369 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27371         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27372         * sysdeps/x86_64/memset_chk.S: Likewise.
27374 2012-04-08  Andreas Jaeger  <aj@suse.de>
27376         [BZ #10153]
27377         * manual/startup.texi (Environment Access): Describe return value
27378         for putenv and setenv.
27380         [BZ #6895]
27381         * manual/filesys.texi (Directory Entries): Add description for
27382         DT_LNK.
27384         [BZ #6890]
27385         * manual/filesys.texi (Directory Entries): Clarify that it's file
27386         system not operating system in the description of DT_UNKNOWN.
27388         [BZ #6578]
27389         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27391 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27393         [BZ #6649]
27394         * manual/llio.texi (Opening and Closing Files): Add cross
27395         reference to explain mode argument.
27397 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27399         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27400         * sysdeps/x86_64/memset_chk.S: Likewise.
27402 2012-04-07  David S. Miller  <davem@davemloft.net>
27404         * elf/elf.h (R_SPARC_WDISP10): Define.
27405         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27406         R_SPARC_SIZE32.
27407         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27408         R_SPARC_SIZE64 and R_SPARC_H34.
27410 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27412         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27413         conditions and remove no longer applicable assertion.
27415 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27417         * bits/byteswap.h: Include <features.h>.
27418         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27419         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27421 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27423         * bits/byteswap.h (__bswap_16): Removed.
27424         Include <bits/byteswap-16.h> to get __bswap_16.
27425         * sysdeps/i386/bits/byteswap.h: Likewise.
27426         * sysdeps/s390/bits/byteswap.h: Likewise.
27427         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27428         * bits/byteswap-16.h: New file.
27429         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27430         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27431         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27432         * string/Makefile (headers): Add bits/byteswap-16.h.
27434 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27436         [BZ #13895]
27437         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27438         extra indirection.
27439         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27440         * nss/tst-nss-static.c: New.
27442 2012-04-06  Robert Millan  <rmh@gnu.org>
27444         [BZ #6486]
27445         * manual/llio.texi (File Position Primitive): lseek
27446         refers to WHENCE when it really means OFFSET.
27448 2012-04-06  Andreas Jaeger  <aj@suse.de>
27450         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27451         strncmp declarations.
27453         * abilist/libc.abilist: Add __poll and __ppoll.
27455 2012-04-05  David S. Miller  <davem@davemloft.net>
27457         * scripts/check-local-headers.sh: Accept a host triplet in the
27458         path matched by the exclude regexp.
27460         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27461         definition.
27462         * sysdeps/powerpc/powerpc32/dl-machine.h
27463         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27464         * sysdeps/s390/s390-32/dl-machine.h
27465         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27466         * sysdeps/sparc/sparc32/dl-machine.h
27467         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27468         * sysdeps/sparc/sparc64/dl-machine.h
27469         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27471         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27472         lazy binding.
27473         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27474         undefined symbol errors.
27476         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27477         DT_NEEDED entries.
27479 2012-04-05  Michael Matz  <matz@suse.de>
27481         [BZ #13592]
27482         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27484 2012-04-05  Andreas Jaeger  <aj@suse.de>
27486         [BZ #13908]
27487         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27488         comment.
27490 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27492         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27493         which ROUND is no valid rounding mode.
27495 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27497         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27498         read again.
27499         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27501 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27503         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27504         an exception using FPU order intentionally.
27506 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27508         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27509         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27510         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27511         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27513 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27515         [BZ #12340]
27516         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27517         EINVAL when BUFLEN is too smal.
27519 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27521         [BZ #13553]
27522         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27523         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27525 2012-04-03  Andreas Jaeger  <aj@suse.de>
27527         [BZ #13938]
27528         * manual/setjmp.texi (System V contexts): Fix sentence.
27530         [BZ #13926]
27531         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27532         New macro for this case.
27533         [!__GNUC__] (__bswap_64): New inline function for this case.
27534         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27535         * bits/byteswap.h: Likewise.
27536         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27537         ull, guard with __GLIBC_HAVE_LONG_LONG.
27539         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27540         __GLIBC_HAVE_LONG_LONG.
27542         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27543         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27545 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27547         [BZ #13691]
27548         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27549         inptr and inend, rather than using last_ch.
27551 2012-04-02  David S. Miller  <davem@davemloft.net>
27553         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27554         * stdio-common/printf-parse.h (read_int): Change return type to
27555         'int', return -1 on INT_MAX overflow.
27556         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27557         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27558         overflows INT_MAX.  Check for overflow of in-format-string precision
27559         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27560         SIZE_MAX not INT_MAX for integer overflow test.
27561         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27562         skip the construct in the format string but do not record anything.
27563         * stdio-common/bug22.c: Adjust to test both width/prevision
27564         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27565         explicitly for proper errno values.
27567 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27569         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27570         CHAR_MAX.
27571         * string/test-strcmp.c [! WIDE]: Likewise.
27572         * time/tst-mktime2.c: Likewise for INT_MAX.
27573         * string/test-string.h: #include <sys/param.h> for MIN.
27575         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27576         * sysdeps/i386/init-first.c (init): Likewise.
27577         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27578         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27579         * sysdeps/sh/init-first.c (init): Likewise.
27581 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27583         * po/ru.po: Update from translation team.
27584         * po/vi.po: Likewise.
27586 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27588         * resolv/nss_dns/dns-host.c: Merge copyright years.
27590 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27592         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27593         Optimize memcpy with prefetch if
27594         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27595         src, dst pointers have unequal 16 byte alignments.
27597 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27599         [BZ #13928]
27600         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27601         from a CNAME entry and return the minimum ttl for the query.
27602         (gaih_getanswer_slice): Likewise.
27604 2012-03-30  Jeff Law  <law@redhat.com>
27606         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27607         due to long keys.
27608         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27609         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27611         * resolv/nss_dns/dns-host.c: Update copyright year.
27613 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27615         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27616         requests to save a system call.  Fix check that all bytes are sent.
27618         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27619         comments for sendmmsg.
27621 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27623         [BZ #13691]
27624         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27625         with only 1 character between 0x0041 and 0x01b0.
27626         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27627         * wcsmbs/tst-mbsnrtowcs.c: New file.
27629 2012-03-29  David S. Miller  <davem@davemloft.net>
27631         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27632         small copies by hand.
27634 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27636         [BZ #13761]
27637         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27638         _nss_compat_initgroups_dyn): Fall back to malloc/free
27639         for large group memberships.
27641 2012-03-28  David S. Miller  <davem@davemloft.net>
27643         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27644         that branches into memcpy.
27645         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27646         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27647         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27648         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27649         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27650         bits.
27651         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27652         implementation too.
27653         * sysdeps/sparc/mempcpy.S: New file.
27655         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27656         the IFUNC routine in the libc case.
27657         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27659         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27660         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27661         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27662         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27663         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27664         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27665         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27666         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27668         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27669         loop to 256 bytes instead of 64 bytes and fix test signedness.
27671         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27672         * sysdeps/sparc/sparc32/Makefile: rather than here...
27673         * sysdeps/sparc/sparc64/Makefile: and here.
27675 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27677         * malloc/mallocbug.c: Avoid warnings about unused variables.
27679 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27681         [BZ #13760]
27682         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27683         in the right place. Discard and retry query if response is
27684         larger than input buffer size.
27686 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27688         [BZ #369]
27689         [BZ #2678]
27690         [BZ #3866]
27691         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27692         x for large integer exponent.
27693         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27694         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27695         sign of result as needed afterwards.
27696         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27697         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27698         result for underflowing pow the same as for overflow.
27699         (__kernel_standard_l): Handle powl overflow and underflow here
27700         rather than calling __kernel_standard.
27701         * math/libm-test.inc (pow_test): Add more tests.
27703         [BZ #3868]
27704         [BZ #13879]
27705         [BZ #13910]
27706         [BZ #13911]
27707         [BZ #13912]
27708         [BZ #13913]
27709         [BZ #13915]
27710         [BZ #13916]
27711         [BZ #13917]
27712         [BZ #13918]
27713         [BZ #13919]
27714         [BZ #13920]
27715         [BZ #13921]
27716         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27717         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27718         (__kernel_standard_l): New function.
27719         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27720         __kernel_standard.
27721         * math/w_acosl.c (__acosl): Likewise.
27722         * math/w_asinl.c (__asinl): Likewise.
27723         * math/w_atan2l.c (__atan2l): Likewise.
27724         * math/w_atanhl.c (__atanhl): Likewise.
27725         * math/w_coshl.c (__coshl): Likewise.
27726         * math/w_exp10l.c (__exp10l): Likewise.
27727         * math/w_exp2l.c (__exp2l): Likewise.
27728         * math/w_fmodl.c (__fmodl): Likewise.
27729         * math/w_hypotl.c (__hypotl): Likewise.
27730         * math/w_j0l.c (__j0l, __y0l): Likewise.
27731         * math/w_j1l.c (__j1l, __y1l): Likewise.
27732         * math/w_jnl.c (__jnl, __ynl): Likewise.
27733         * math/w_lgammal.c (__lgammal): Likewise.
27734         * math/w_log10l.c (__log10l): Likewise.
27735         * math/w_log2l.c (__log2l): Likewise.
27736         * math/w_logl.c (__logl): Likewise.
27737         * math/w_powl.c (__powl): Likewise.
27738         * math/w_remainderl.c (__remainderl): Likewise.
27739         * math/w_scalbl.c (sysv_scalbl): Likewise.
27740         * math/w_sinhl.c (__sinhl): Likewise.
27741         * math/w_sqrtl.c (__sqrtl): Likewise.
27742         * math/w_tgammal.c (__tgammal): Likewise.
27743         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27744         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27745         * math/libm-test.inc (acos_test): Add more tests.
27746         (acosh_test): Likewise.
27747         (asin_test): Likewise.
27748         (atanh_test): Likewise.
27749         (exp_test): Likewise.
27750         (exp10_test): Likewise.
27751         (exp2_test): Likewise.
27752         (expm1_test): Likewise.
27753         (lgamma_test): Likewise.
27754         (log_test): Likewise.
27755         (log10_test): Likewise.
27756         (log1p_test): Likewise.
27757         (log2_test): Likewise.
27758         (pow_test): Do not allow some spurious overflow exceptions.
27759         (sqrt_test): Add more tests.
27760         (tgamma_test): Likewise.
27761         (y0_test): Likewise.
27762         (y1_test): Likewise.
27763         (yn_test): Likewise.
27765 2012-03-27  Anton Blanchard  <anton@samba.org>
27767         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27768         MAP_HUGETLB.
27769         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27770         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27771         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27773 2012-03-27  David S. Miller  <davem@davemloft.net>
27775         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27777         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27778         have-as-vis3 check.
27780 2012-03-27  Andreas Jaeger  <aj@suse.de>
27782         * sysdeps/x86_64/elf/configure.in: Moved to ...
27783         * sysdeps/x86_64/configure.in: ... here.
27784         * sysdeps/x86_64/elf/start.S: Moved to ...
27785         * sysdeps/x86_64/start.S: ... here.
27786         * sysdeps/x86_64/elf/configure: Delete.
27788         * sysdeps/x86_64/configure.in: Merge contents from
27789         sysdeps/i386/configure.in (without i686 check).
27791         * sysdeps/i386/elf/Versions: Merge into ...
27792         * sysdeps/i386/Versions: ... this.
27793         * sysdeps/i386/elf/Versions: Delete file.
27794         * sysdeps/i386/elf/start.S: Moved to ...
27795         * sysdeps/i386/start.S: ...here.
27796         * sysdeps/i386/elf/configure.in: Merge into...
27797         * sysdeps/i386/configure.in: ...here.
27798         * sysdeps/i386/elf/configure.in: Delete file.
27799         * sysdeps/i386/elf/configure: Delete file.
27801         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27802         * debug/backtracesyms.c: ... here.
27803         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27804         * debug/backtracesymsfd.c: ... here.
27805         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27806         * sysdeps/generic/ifunc-sel.h: ... here.
27808         * sysdeps/unix/i386/start.c: Delete file.
27809         * sysdeps/unix/sparc/start.c: Delete file.
27810         * sysdeps/unix/start.c: Delete file.
27812         * sysdeps/sh/elf/configure.in: Moved to ...
27813         * sysdeps/sh/configure.in: ... here.
27814         * sysdeps/sh/elf/start.S: Moved to ...
27815         * sysdeps/sh/start.S: ... here.
27816         * sysdeps/sh/elf/configure: Delete file.
27818         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27819         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27820         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27821         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27822         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27823         * sysdeps/powerpc/powerpc64/start.S: here.
27824         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27825         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27826         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27827         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27828         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27830         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27831         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27832         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27833         * sysdeps/powerpc/powerpc32/start.S: ... here.
27834         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27835         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27836         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27838         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27839         * sysdeps/powerpc/ifunc-sel.h: ... here.
27840         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27841         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27843         * sysdeps/sparc/elf/configure.in: Moved to ...
27844         * sysdeps/sparc/configure.in: ... here.
27845         * sysdeps/sparc/elf/configure: Delete file.
27846         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27847         * sysdeps/sparc/sparc32/start.S: ... here.
27848         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27849         * sysdeps/sparc/sparc64/start.S: ... here.
27850         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27851         * sysdeps/sparc/sparc32/Makefile: ... this.
27852         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27853         * sysdeps/sparc/sparc64/Makefile: ... this.
27855         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27856         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27857         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27858         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27859         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27860         * sysdeps/s390/s390-32/setjmp.S: ... here.
27861         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27862         * sysdeps/s390/s390-32/configure.in: ... here.
27863         * sysdeps/s390/s390-32/elf/configure: Delete file.
27864         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27865         * sysdeps/s390/s390-32/start.S: ... here.
27867         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27868         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27869         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27870         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27871         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27872         * sysdeps/s390/s390-64/setjmp.S: ... here.
27873         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27874         * sysdeps/s390/s390-64/configure.in: ... here
27875         * sysdeps/s390/s390-64/elf/configure: Delete file.
27876         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27877         * sysdeps/s390/s390-64/start.S: ... here.
27878         * sysdeps/s390/s390-64/elf/configure: Delete.
27880         * configure.in: Remove support for elf directories in sysdeps.
27882         * configure: Regenerated.
27883         * sysdeps/i386/configure: Regenerated.
27884         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27885         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27886         * sysdeps/s390/s390-32/configure: Regenerated.
27887         * sysdeps/s390/s390-64/configure: Regenerated.
27888         * sysdeps/sh/configure: Regenerated.
27889         * sysdeps/sparc/configure: Regenerated.
27890         * sysdeps/x86_64/configure: Regenerated.
27892 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27896         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27897         denormal result into account.
27899 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27901         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27902         Reported by Allan McRae <allan@archlinux.org>.
27904 2012-03-23  Jeff Law  <law@redhat.com>
27906         * nss/getnssent.c (__nss_getent): Fix typo.
27908 2012-03-23  David S. Miller  <davem@davemloft.net>
27910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27912 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27914         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27915         to pad to uint64_t for each field.
27916         (dl_tls_index): Replace unsigned long with uint64_t.
27918 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27919         Paul Pluzhnikov  <ppluzhnikov@google.com>
27921         [BZ #6528]
27922         * grp/Makefile (otherlibs): Don't set it.
27923         * inet/Makefile (otherlibs): Likewise.
27924         * login/Makefile (otherlibs): Likewise.
27925         * nscd/Makefile (otherlibs): Likewise.
27926         * posix/Makefile (otherlibs): Likewise.
27927         * pwd/Makefile (otherlibs): Likewise.
27928         * rt/Makefile (otherlibs): Likewise.
27929         * sunrpc/Makefile (otherlibs): Likewise.
27930         * nss/Makefile (otherlibs): Likewise.
27931         Add libnss_files to routines and static-only-routines.
27932         ($(objpfx)getent): Remove rule.
27933         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27934         static-only-routines.
27936 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27938         [BZ #13892]
27939         * math/s_cexp.c: Include <float.h>.
27940         (__cexp): Handle exp result overflowing not necessarily
27941         overflowing both real and imaginary parts of result.
27942         * math/s_cexpf.c: Likewise.
27943         * math/s_cexpl.c: Likewise.
27944         * math/libm-test.inc (cexp_test): Add more tests.
27945         * sysdeps/i386/fpu/libm-test-ulps: Update.
27946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27948 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27950         * include/link.h (ELFW): New macro.
27951         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27952         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27954 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27956         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27957         with uint64_t.
27959 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27961         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27962         declaration.
27963         (struct La_x32_retval): Likewise.
27965 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27967         * sysdeps/x86_64/preconfigure.in: New file.
27968         * sysdeps/x86_64/preconfigure: New generated file.
27970 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27972         [BZ #13824]
27973         * math/e_exp2l.c: Include <float.h>.
27974         (__ieee754_exp2l): Handle overflow and underflow cases
27975         separately.  Only pass fractional part of argument to
27976         __ieee754_expl.
27977         * math/libm-test.inc (exp2_test): Add more tests.
27979         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27980         negating x to take absolute value.
27981         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27982         Likewise.
27983         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27984         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27985         Likewise.
27986         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27987         computing low part if x was negated.
27988         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27990 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27992         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27993         la_x32_gnu_pltexit.
27994         (pltexit): Cast int_retval to ptrdiff_t.
27995         * elf/tst-auditmod3b.c: Likewise.
27996         * elf/tst-auditmod4b.c: Likewise.
27997         * elf/tst-auditmod5b.c: Likewise.
27998         * elf/tst-auditmod6b.c: Likewise.
27999         * elf/tst-auditmod6c.c: Likewise.
28000         * elf/tst-auditmod7b.c: Likewise.
28002         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28003         and x32_gnu_pltexit.
28005         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28006         __ELF_NATIVE_CLASS.
28007         (La_x32_regs): New macro.
28008         (La_x32_retval): Likewise.
28009         (la_x32_gnu_pltenter): New function prototype.
28010         (la_x32_gnu_pltexit): Likewise.
28012 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28015         exponent.
28017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28019         * configure.in (libc_cv_cc_nofma): Check for option to disable
28020         generation of FMA instructions.
28021         * configure: Regenerate.
28022         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28023         * sysdeps/ieee754/dbl-64/Makefile: New file.
28024         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28025         Remove brandred-fma4.
28026         (CFLAGS-brandred-fma4.c): Remove.
28027         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28028         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28029         define.
28030         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28031         define.
28033 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28035         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28036         LLONG_MAX != LONG_MAX.
28037         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28038         (_fitoa_word): Likewise.
28039         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28040         LLONG_MAX != LONG_MAX.
28041         * stdio-common/_itowa.h: Include <_itoa.h>.
28042         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28043         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28044         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28045         only if not defined.
28046         (_ITOA_WORD_TYPE): Likewise.
28047         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28048         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28050 2012-03-21  David S. Miller  <davem@davemloft.net>
28052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28054 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28056         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28057         of x86_64 when setting libc_cv_slibdir, libdir and
28058         libc_cv_localedir.
28059         * sysdeps/unix/sysv/linux/configure: Regenerated.
28061 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28063         * manual/lang.texi (Old Varargs): Remove section.
28064         (How Variadic): Update menu.
28065         (va_start): Do not mention varargs.h.
28067 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28068             Joseph Myers  <joseph@codesourcery.com>
28070         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28071         link test.
28072         * configure: Regenerated.
28074 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28076         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28077         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28078         conformtest.pl
28080 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28082         * NOTES: Remove.
28083         * Makefile (files-for-dist): Remove NOTES.
28084         (NOTES): Remove rule.
28085         * README: Don't refer to NOTES.
28086         * manual/creature.texi: Don't include macros.texi.
28087         * manual/intro.texi (creature.texi): Remove comment referring to
28088         NOTES.
28090         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28091         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28092         * configure: Regenerated.
28093         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28094         LIBC_TRY_CC_OPTION.
28095         (libc_cv_as_i686): Likewise.
28096         (libc_cv_cc_avx): Likewise.
28097         (libc_cv_cc_sse2avx): Likewise.
28098         (libc_cv_cc_fma4): Likewise.
28099         (libc_cv_cc_novzeroupper): Likewise.
28100         * sysdeps/i386/configure: Regenerated.
28102         [BZ #13883]
28103         * sysdeps/i386/fpu/s_cexp.S: Remove.
28104         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28105         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28106         * math/libm-test.inc (cexp_test): Add more tests.
28107         * sysdeps/i386/fpu/libm-test-ulps: Update.
28108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28110 2012-03-21  Allan McRae  <allan@archlinux.org>
28112         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28114 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28116         [BZ #13871]
28117         * math/w_exp2.c: Do not include <float.h>.
28118         (o_threshold, u_threshold): Remove.
28119         (__exp2): Calculate result before checking finiteness and calling
28120         __kernel_standard.
28121         * math/w_exp2f.c: Likewise.
28122         * math/w_exp2l.c: Likewise.
28123         * math/libm-test.inc (exp2_test): Require overflow exception for
28124         1e6 input.
28126         [BZ #3866]
28127         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28128         range of signed 64-bit integers before using fistpll.  Remove
28129         checks for whether integers fit in mantissa bits.
28130         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28131         the range of signed 32-bit integers before using fistpl.  Remove
28132         checks for whether integers fit in mantissa bits.
28133         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28134         (__ieee754_powl): Test for y outside the range of signed 64-bit
28135         integers before using fistpll.  Reduce 64-bit values to 63-bit
28136         ones as needed.
28137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28138         divide-by-zero is raised for zero to large negative powers.
28139         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28140         (__ieee754_powl): Test for y outside the range of signed 64-bit
28141         integers before using fistpll.  Reduce 64-bit values to 63-bit
28142         ones as needed.
28143         * math/libm-test.inc (pow_test): Add more tests.
28145 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28147         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28148         <stdio-common/_itoa.h>.
28149         * debug/segfault.c: Likewise.
28150         * elf/dl-cache.c: Likewise.
28151         * elf/dl-minimal.c: Likewise.
28152         * elf/dl-misc.c: Likewise.
28153         * elf/dl-sysdep.c: Likewise.
28154         * elf/dl-version.c: Likewise.
28155         * elf/rtld.c: Likewise.
28156         * hurd/hurdsock.c: Likewise.
28157         * hurd/lookup-retry.c: Likewise.
28158         * malloc/malloc.c: Likewise.
28159         * malloc/mtrace.c: Likewise.
28160         * nscd/nscd_getgr_r.c: Likewise.
28161         * nscd/nscd_getpw_r.c: Likewise.
28162         * nscd/nscd_getserv_r.c: Likewise.
28163         * posix/getopt_init.c: Likewise.
28164         * posix/wordexp.c: Likewise.
28165         * stdio-common/_itoa.c: Likewise.
28166         * stdio-common/printf_fphex.c: Likewise.
28167         * stdio-common/vfprintf.c: Likewise.
28168         * string/_strerror.c: Likewise.
28169         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28170         * sysdeps/i386/i686/hp-timing.h: Likewise.
28171         * sysdeps/mach/_strerror.c: Likewise.
28172         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28173         * sysdeps/mach/hurd/sethostid.c: Likewise.
28174         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28175         * sysdeps/mach/xpg-strerror.c: Likewise.
28176         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28177         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28178         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28179         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28180         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28181         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28182         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28183         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28184         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28185         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28186         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28187         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28188         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28189         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28190         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28191         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28192         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28193         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28194         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28195         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28196         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28198         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28200         * stdio-common/_itoa.h: Moved to ...
28201         * sysdeps/generic/_itoa.h: Here.
28203         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28205         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28206         instead of "_itoa.h" and "_itowa.h".
28207         * stdio-common/vfprintf.: Likewise.
28209 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28211         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28212         <bits/wordsize.h>.
28213         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28214         (__signbit): Likwise.
28215         (llrintf): Likwise.
28216         (llrint): Likwise.
28218 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28220         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28221         __WORDSIZE != 64.
28223 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28225         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28226         OVERFLOW_EXCEPTION_OK.
28227         * math/libm-test.inc ("Philosophy"): Update comment about
28228         exception testing.
28229         (OVERFLOW_EXCEPTION): Define.
28230         (OVERFLOW_EXCEPTION_OK): Likewise.
28231         (INVALID_EXCEPTION_OK): Renumber.
28232         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28233         (IGNORE_ZERO_INF_SIGN): Likewise.
28234         (test_exceptions): Handle FE_OVERFLOW.
28235         (exp10_test): Expect overflow exceptions.
28236         (exp2_test): Likewise.
28237         (expm1_test): Likewise.
28238         (nextafter_test): Likewise.
28239         (pow_test): Likewise.
28240         (scalbn_test): Likewise.
28241         (scalbln_test): Likewise.
28243 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28245         * sysdeps/x86_64/bits/atomic.h
28246         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28247         64bit integer.
28248         (atomic_exchange_acq): Likewise.
28249         (__arch_exchange_and_add_body): Likewise.
28250         (__arch_add_body): Likewise.
28251         (atomic_add_negative): Likewise.
28252         (atomic_add_zero): Likewise.
28254 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28256         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28257         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28259 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28261         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28262         Check __x86_64__ instead of __WORDSIZE.
28264 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28266         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28268 2012-03-19  David S. Miller  <davem@davemloft.net>
28270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28272         * sysdeps/sparc/fpu/fenv_private.h: New file.
28273         * sysdeps/sparc/fpu/math_private.h: Use it.
28274         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28275         Remove.
28276         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28277         (libc_feholdexcept_setroundl): Remove.
28278         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28279         Remove.
28280         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28281         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28283 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28285         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28286         int64_t instead of long int.
28287         (INSERT_WORDS64): Likwise.
28289 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28291         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28292         _Unwind_GetCFA return to _Unwind_Ptr first.
28294 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28296         [BZ #13629]
28297         * math/s_clog.c: Include <float.h>.
28298         (__clog): Scale large or subnormal inputs.
28299         * math/s_clogf.c: Likewise.
28300         * math/s_clogl.c: Likewise.
28301         * math/s_clog10.c: Include <float.h>.
28302         (M_LOG10_2): Define.
28303         (__clog10): Scale large or subnormal inputs.
28304         * math/s_clog10f.c: Likewise.
28305         * math/s_clog10l.c: Likewise.
28306         * math/libm-test.inc (clog_test): Add more tests.
28307         (clog10_test): Likewise.
28308         * sysdeps/i386/fpu/libm-test-ulps: Update.
28309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28311         [BZ #11451]
28312         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28313         x and y.
28314         * math/libm-test.inc (atan2_test): Add another test.
28316         * Makerules (common-objdir-compile): Remove.
28317         * sysdeps/unix/Makefile (config-generated): Do not add
28318         $(unix-generated) to variable.
28319         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28320         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28321         Remove rule.
28322         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28323         Likewise.
28324         [generic bits/local_lim.h] (before-compile): Do not append to
28325         variable.
28326         [generic bits/local_lim.h] (common-generated): Likewise.
28327         [generic sys/param.h] (before-compile): Do not append to variable.
28328         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28329         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28330         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28331         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28332         include.
28333         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28334         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28335         [generic sys/param.h] ($(addprefix
28336         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28337         [generic sys/param.h] (common-generated): Do not append to
28338         variable.
28339         [generic sys/param.h] (sysdep_headers): Likewise.
28340         [generic bits/errno.h] (before-compile): Do not append to
28341         variable.
28342         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28343         rule.
28344         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28345         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28346         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28347         [generic bits/errno.h] (common-generated): Do not append to
28348         variable.
28349         [generic bits/ioctls.h] (before-compile): Do not append to
28350         variable.
28351         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28352         rule.
28353         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28354         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28355         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28356         rule.
28357         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28358         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28359         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28360         [generic bits/ioctls.h] (common-generated): Do not append to
28361         variable.
28362         [generic sys/syscall.h] (syscall.h): Remove variable.
28363         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28364         rule.
28365         [generic sys/syscall.h] (before-compile): Do not append to
28366         variable.
28367         [generic sys/syscall.h] (common-generated): Likewise.
28368         * sysdeps/unix/errnos-tmpl.c: Remove file.
28369         * sysdeps/unix/errnos.awk: Likewise.
28370         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28371         * sysdeps/unix/ioctls.awk: Likewise.
28372         * sysdeps/unix/mk-local_lim.c: Likewise.
28373         * sysdeps/unix/snarf-ioctls: Likewise.
28375 2012-03-19  Richard Henderson  <rth@twiddle.net>
28377         * sysdeps/i386/fpu/fenv_private.h: New file.
28378         * sysdeps/i386/fpu/math_private.h: Use it.
28379         (math_opt_barrier, math_force_eval): Remove.
28380         (libc_feholdexcept_setround_53bit): Remove.
28381         (libc_feupdateenv_53bit): Remove.
28382         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28383         (math_opt_barrier, math_force_eval): Remove.
28384         (libc_feholdexcept): Remove.
28385         (libc_feholdexcept_setround): Remove.
28386         (libc_fetestexcept, libc_fesetenv): Remove.
28387         (libc_feupdateenv_test): Remove.
28388         (libc_feupdateenv, libc_feholdsetround): Remove.
28389         (libc_feresetround): Remove.
28391         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28392         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28394         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28395         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28396         (libc_feupdateenv_testl): New.
28397         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28398         (libc_feupdateenv_testf): New.
28399         (libc_feupdateenv): Use libc_feupdateenv_test.
28400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28401         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28403         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28404         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28405         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28406         (libc_feresetround_noex): New.
28407         (libc_feresetround_noexf): New.
28408         (libc_feresetround_noexl): New.
28409         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28410         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28411         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28412         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28413         SET_RESTORE_ROUND.
28414         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28415         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28416         (__cos): Likewise.
28417         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28418         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28419         SET_RESTORE_ROUND_NOEX.
28420         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28421         SET_RESTORE_ROUND_NOEXF.
28422         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28423         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28424         (libc_feholdsetroundf): New.
28425         (libc_feresetround, libc_feresetroundf): New.
28427         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28428         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28429         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28431         * sysdeps/generic/math_private.h: Include <fenv.h>.
28432         (default_libc_feholdexcept): New.
28433         (default_libc_feholdexcept_setround): New.
28434         (default_libc_fesetenv, default_libc_feupdateenv): New.
28435         (libc_feholdexcept): Only define if undefined.
28436         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28437         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28438         (libc_feholdexcept_setroundl): Likewise.
28439         (libc_feholdexcept_setround_53bit): Likewise.
28440         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28441         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28442         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28443         (libc_feupdateenv_53bit): Likewise.
28444         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28445         (libc_feholdexcept): Convert from macro to inline function.
28446         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28447         (libc_fesetenv, libc_feupdateenv): Likewise.
28449         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28450         not previously defined.
28451         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28452         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28453         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28454         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28455         * sysdeps/ieee754/flt-32/math_private.h: New file.
28456         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28457         math_private.h below SET_FLOAT_WORD.
28458         (__isnan, __isinf_ns, __finite): Remove.
28459         (__isnanf, __isinf_nsf, __finitef): Remove.
28461 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28465 2012-03-17  David S. Miller  <davem@davemloft.net>
28467         [BZ #6471]
28468         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28469         for 2.16.
28471 2012-03-16  David S. Miller  <davem@davemloft.net>
28473         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28474         warnings.
28476         [BZ #6471]
28477         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28478         properly.
28479         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28480         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28481         sysdep_routines when subdir is sysvipc.
28482         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28483         __getshmlba helper.
28485         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28487 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28489         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28490         [__LP64__].
28492 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28494         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28495         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28496         (__lround): Renamed to ...
28497         (__llround): This.  Replace long int with long long int.
28498         Define lround functions as aliases of llround functions.
28499         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28501 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28503         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28504         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28505         adresses to uintptr_t.  Replace "long int" and "unsigned long
28506         int" with "greg_t" on va_arg.
28508 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28510         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28511         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28513         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28514         Move e_machine check before EI_CLASS check.  Handle x32
28515         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28516         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28517         SKIP_EM_IA_64 and include
28518         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28520         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28521         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28522         (add_system_dir): New macro.
28524         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28525         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28527 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28529         [BZ #2551]
28530         [BZ #2552]
28531         [BZ #2553]
28532         [BZ #2554]
28533         [BZ #2562]
28534         [BZ #2563]
28535         [BZ #2565]
28536         [BZ #2566]
28537         [BZ #2576]
28538         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28539         (y0): Likewise.
28540         * math/w_j0f.c (j0f): Likewise.
28541         (y0f): Likewise.
28542         * math/w_j0l.c (__j0l): Likewise.
28543         (__y0l): Likewise.
28544         * math/w_j1.c (j1): Likewise.
28545         (y1): Likewise.
28546         * math/w_j1f.c (j1f): Likewise.
28547         (y1f): Likewise.
28548         * math/w_j1l.c (__j1l): Likewise.
28549         (__y1l): Likewise.
28550         * math/w_jn.c (jn): Likewise.
28551         (yn): Likewise.
28552         * math/w_jnf.c (jnf): Likewise.
28553         (ynf): Likewise.
28554         * math/w_jnl.c (__jnl): Likewise.
28555         (__ynl): Likewise.
28556         * math/libm-test.inc (j0_test): Add more tests.
28557         (j1_test): Likewise.
28558         (jn_test): Likewise.  Add trailing semicolon to existing test.
28559         (y0_test): Likewise.
28560         (y1_test): Likewise.
28561         * sysdeps/i386/fpu/libm-test-ulps: Update.
28562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28564         [BZ #13851]
28565         [BZ #13854]
28566         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28567         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28568         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28569         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28570         (__tanl): Set errno for infinite argument.
28571         * sysdeps/i386/fpu/mptan.c: Remove.
28572         * sysdeps/i386/fpu/s_tan.S: Likewise.
28573         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28574         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28575         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28576         * math/libm-test.inc (tan_test): Add more tests and enable more
28577         tests for double and long double.
28578         * sysdeps/i386/fpu/libm-test-ulps: Update.
28579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28581 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28583         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28584         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28586 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28588         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28589         * configure.in: Use it for both main tree and add-ons.
28590         * configure: Regenerated.
28592 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28594         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28596 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28598         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28599         in comment.
28601         [BZ #13851]
28602         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28603         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28604         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28605         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28606         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28607         infinite argument.
28608         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28609         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28610         != 0 for prec == 2.
28611         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28612         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28613         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28614         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28615         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28616         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28617         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28618         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28619         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28620         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28621         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28622         * math/libm-test.inc (cos_test): Add more tests and enable more
28623         tests for long double.
28624         (sin_test): Likewise.
28625         (sincos_test): Likewise.
28626         * sysdeps/i386/fpu/libm-test-ulps: Update.
28627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28629 2012-03-16  David S. Miller  <davem@davemloft.net>
28631         * sysdeps/sparc/fpu/math_private.h: New file.
28633 2012-03-15  David S. Miller  <davem@davemloft.net>
28635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28636         file.
28637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28639         file.
28640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28645         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28646         sysdep routines.
28647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28649         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28650         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28652         * sysdeps/sparc/sparc-ifunc.h: New file.
28653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28654         sparc-ifunc.h
28655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28657         Likewise.
28658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28659         Likewise.
28660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28664         Likewise.
28665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28670         Likewise.
28671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28672         Likewise.
28673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28679         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28680         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28683         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28684         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28685         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28690         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28691         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28692         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28693         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28694         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28695         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28696         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28698 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28700         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28701         scaling.
28702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28704 2012-03-15  Andreas Jaeger  <aj@suse.de>
28706         [BZ #13852]
28707         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28708         ieee754/flt-32 implementation for sin, cos and sincos.
28709         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28710         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28711         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28712         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28713         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28714         ieee754/flt-32 implementation for tan.
28716         * math/libm-test.inc (cos_test): Enable some large input tests for
28717         float as well
28718         (sin_test): Likewise.
28719         (sincos_test): Likewise.
28720         (tan_test): Add tests for large input.
28722         * sysdeps/i386/fpu/libm-test-ulps: Update.
28724 2012-03-15  Andreas Jaeger  <aj@suse.de>
28726         [BZ #13658]
28727         * math/libm-test.inc (cos_test): Add more test cases.
28728         (sin_test): Likewise.
28729         (sincos_test): Likewise.
28731 2012-03-15  Andreas Jaeger  <aj@suse.de>
28733         [BZ #13837]
28734         * math/libm-test.inc (cos_test): Add a test case for large input
28735         value.
28736         (sin_test): Likewise.
28737         (sincos_test): Likewise.
28739 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28740         Joseph Myers  <joseph@codesourcery.com>
28742         [BZ #13658]
28743         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28744         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28745         * sysdeps/i386/fpu/branred.c: Likewise.
28746         * sysdeps/i386/fpu/dosincos.c: Likewise.
28747         * sysdeps/i386/fpu/mpa.c: Likewise.
28748         * sysdeps/i386/fpu/s_cos.S: Likewise.
28749         * sysdeps/i386/fpu/s_sin.S: Likewise.
28750         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28751         * sysdeps/i386/fpu/sincos32.c: Likewise.
28753         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28754         Define.
28755         (libc_feupdateenv_53bit): Define.
28756         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28757         Define.
28758         (libc_feupdateenv_53bit): Define.
28760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28761         53 bit (without extend i386 double precision).
28763         * math/libm-test.inc (sincos_test): Add tests for large input.
28764         (sin): Likewise.
28765         (cos): Likewise.
28767         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28769 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28773 2012-03-15  David S. Miller  <davem@davemloft.net>
28775         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28776         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28777         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28778         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28783         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28784         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28785         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28786         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28787         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28788         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28789         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28791         file.
28792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28794         file.
28795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28797         file.
28798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28800         file.
28801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28802         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28803         fmin/fmax sysdep routines.
28804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28806 2012-03-14  David S. Miller  <davem@davemloft.net>
28808         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28812         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28813         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28814         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28815         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28816         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28820         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28821         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28822         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28823         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28824         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28825         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28826         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28828         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28829         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28830         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28831         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28832         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28833         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28834         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28835         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28836         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28837         routines.
28838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28839         file.
28840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28842         file.
28843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28845         file.
28846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28848         file.
28849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28851         file.
28852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28854         file.
28855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28856         file.
28857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28858         file.
28859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28860         file.
28861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28862         New file.
28863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28864         file.
28865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28866         file.
28867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28869         file.
28870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28872         file.
28873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28875         file.
28876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28878         VIS3 routines.
28880         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28881         New file.
28883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28885         * sysdeps/sparc/configure.in: New file.
28886         * sysdeps/sparc/configure: Generate.
28887         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28888         * configure: Regenerate.
28889         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28890         * config.make.in (have-as-vis3): New.
28891         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28892         available use -Av9d instead of -Av9a.
28893         * sysdeps/sparc/sparc64/Makefile: Likewise.
28894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28896         New file.
28897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28898         file.
28899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28900         New file.
28901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28902         file.
28903         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28904         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28905         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28906         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28907         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28909         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28910         fzeros/fnegs to load 0x80000000 into a float register instead of
28911         using the stack.
28912         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28914 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28917         bits/syscall.h.
28918         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28919         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28920         ($(inst_includedir)/bits/syscall.h): Remove rule.
28921         ($(objpfx)bits/syscall.d): Include instead of
28922         $(objpfx)syscall-list.d.
28923         (generated): Change syscall-list.h and syscall-list.d to
28924         bits/syscall.h and bits/syscall.d.
28926 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28928         [BZ #13846]
28929         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28931 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28933         [BZ #13841]
28934         * math/s_csqrt.c: Include <float.h>.
28935         (__csqrt): Scale large or subnormal inputs.
28936         * math/s_csqrtf.c: Likewise.
28937         * math/s_csqrtl.c: Likewise.
28938         * math/libm-test.inc (csqrt_test): Add more tests.
28939         * sysdeps/i386/fpu/libm-test-ulps: Update.
28940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28942         [BZ #13840]
28943         * math/libm-test.inc (hypot_test): Add more tests.
28945 2012-03-13  David S. Miller  <davem@davemloft.net>
28947         [BZ #13840]
28948         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28949         double-precision for the calculation instead of scaling.
28951 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28953         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28954         manipulate bits before adding and subtracting TWO52[sx].
28955         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28956         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28957         Likewise.
28958         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28960 2012-03-13  David S. Miller  <davem@davemloft.net>
28962         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28963         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28964         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28965         rtld-global-offsets.h
28966         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28968         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28969         large parameters.
28971         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28973         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28974         'err' in the ifdef scope in which it is actually used.
28976         * nss/nss_db/db-init.c: Include string.h
28978 2012-03-12  David S. Miller  <davem@davemloft.net>
28980         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28981         masking out of the most significant byte of random value used.
28982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28983         Fix coding style in previous change.
28985         * sysdeps/unix/sysv/linux/kernel-features.h
28986         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28987         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28988         expression.
28989         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28990         later.
28992 2012-03-11  David S. Miller  <davem@davemloft.net>
28994         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28995         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28996         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28997         for 'resultvar' otherwise things get truncated on 64-bit.
28999         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29000         Fix masking out of the most significant byte of random value used.
29002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29004 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29008 2012-03-09  David S. Miller  <davem@davemloft.net>
29010         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29011         variables with appropriate CPP guards.
29012         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29013         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29014         on resulting framesize and the management of the outregs buffer for pltexit.
29015         Preserve floating point return values across _dl_call_pltexit call.
29016         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29017         framesize and the management of the outregs buffer for pltexit.
29018         Preserve floating point return values across _dl_call_pltexit
29019         call.
29020         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29021         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29022         (print_exit): Fix format string for return register value.
29024 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29026         * sunrpc/Makefile (others): Add rpcgen.
29027         ($(objpfx)rpcgen): Remove special build rule and dependency on
29028         libc.
29029         * sunrpc/rpcgen.c: New file.
29031 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29033         [BZ #13673]
29034         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29035         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29036         * sysdeps/i386/crti.S: Likewise.
29037         * sysdeps/i386/crtn.S: Likewise.
29038         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29039         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29040         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29041         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29042         * sysdeps/sh/crti.S: Likewise.
29043         * sysdeps/sh/crtn.S: Likewise.
29044         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29046         [BZ #13673]
29047         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29048         with URL.
29049         * locale/programs/locfile-kw.gperf: Likewise.
29050         * locale/programs/charmap-kw.h: Regenerated.
29051         * locale/programs/locfile-kw.h: Likewise.
29053         [BZ #13673]
29054         * intl/plural.y: Replace FSF snail mail address with URL.
29055         * intl/plural.c: Regenerated.
29057 2012-03-09  Richard Henderson  <rth@twiddle.net>
29059         * include/math_private.h: Remove file.
29060         * math/math_private.h: Move file ...
29061         * sysdeps/generic/math_private.h: ... here.
29063         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29064         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29065         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29067         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29068         and <math_private.h>.
29069         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29070         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29071         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29072         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29073         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29074         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29075         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29076         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29077         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29078         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29079         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29080         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29081         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29082         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29083         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29084         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29085         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29086         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29087         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29088         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29089         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29090         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29091         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29092         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29093         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29094         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29095         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29096         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29097         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29098         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29099         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29100         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29101         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29102         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29103         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29104         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29105         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29106         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29107         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29108         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29109         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29110         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29111         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29112         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29113         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29114         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29115         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29116         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29117         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29118         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29119         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29120         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29121         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29122         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29123         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29124         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29125         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29126         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29127         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29128         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29129         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29130         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29131         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29132         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29133         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29134         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29135         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29136         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29137         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29138         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29139         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29140         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29141         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29142         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29143         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29144         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29145         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29146         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29147         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29148         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29149         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29150         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29151         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29152         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29153         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29154         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29155         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29156         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29157         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29158         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29159         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29160         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29161         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29162         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29163         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29164         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29165         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29166         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29167         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29168         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29169         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29170         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29171         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29172         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29173         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29174         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29175         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29176         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29177         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29178         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29179         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29180         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29181         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29182         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29183         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29184         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29185         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29186         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29187         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29188         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29189         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29190         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29191         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29192         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29193         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29194         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29195         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29196         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29197         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29198         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29199         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29200         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29201         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29202         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29203         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29204         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29205         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29206         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29207         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29208         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29209         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29210         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29211         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29212         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29213         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29214         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29215         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29216         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29217         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29218         * sysdeps/ieee754/k_standard.c: Likewise.
29219         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29220         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29221         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29222         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29223         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29224         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29225         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29226         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29227         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29228         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29229         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29230         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29231         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29232         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29233         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29234         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29235         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29236         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29237         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29238         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29239         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29240         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29241         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29242         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29243         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29244         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29245         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29246         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29247         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29248         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29249         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29250         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29251         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29252         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29253         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29254         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29255         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29256         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29257         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29258         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29259         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29260         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29261         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29262         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29263         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29264         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29265         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29266         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29267         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29268         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29269         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29270         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29271         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29272         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29273         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29274         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29275         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29276         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29277         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29278         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29279         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29280         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29281         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29282         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29283         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29284         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29285         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29286         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29287         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29288         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29289         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29290         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29291         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29292         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29293         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29294         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29295         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29296         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29297         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29298         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29299         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29300         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29301         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29302         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29303         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29304         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29305         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29306         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29307         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29308         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29309         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29310         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29311         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29312         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29313         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29314         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29315         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29316         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29317         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29318         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29319         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29320         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29321         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29322         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29323         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29324         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29325         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29326         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29327         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29328         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29329         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29330         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29331         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29332         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29333         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29334         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29335         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29336         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29337         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29338         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29339         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29340         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29341         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29342         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29343         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29344         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29345         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29346         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29347         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29348         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29349         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29350         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29351         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29352         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29353         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29354         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29355         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29356         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29357         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29358         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29359         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29360         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29361         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29362         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29363         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29364         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29365         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29366         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29367         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29368         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29369         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29370         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29371         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29372         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29373         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29374         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29375         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29376         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29377         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29378         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29379         * sysdeps/ieee754/s_lib_version.c: Likewise.
29380         * sysdeps/ieee754/s_matherr.c: Likewise.
29381         * sysdeps/ieee754/s_signgam.c: Likewise.
29382         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29383         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29384         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29385         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29386         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29387         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29388         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29389         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29390         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29391         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29392         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29393         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29394         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29395         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29396         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29397         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29398         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29399         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29400         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29401         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29402         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29404 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29406         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29407         * sunrpc/rpc_main.c: Likewise.
29408         * sunrpc/rpc_svcout.c: Likewise.
29410 2012-03-09  David S. Miller  <davem@davemloft.net>
29412         * include/math_private.h: New file.
29414 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29416         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29417         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29418         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29419         from <bits/socket_type.h>.
29420         (enum __socket_type): Don't define here.
29421         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29423         bits/socket_type.h.
29425         [BZ #13566]
29426         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29427         checking __USE_GNU.
29429         * Makerules ($(inst_includedir)/%.h): New rule.
29430         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29431         (install-others): Remove variable setting.
29432         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29434 2012-03-08  Richard Henderson  <rth@twiddle.net>
29436         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29437         from macro to inline function; merge with the
29438         !__LIBC_INTERNAL_MATH_INLINES version.
29439         (__ieee754_sqrtf): Likewise.
29441         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29442         to inline function.
29443         (__rintf, __floor, __floorf): Likewise.
29445         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29446         macro to inline function.
29447         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29449         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29450         not <math/math_private.h>.
29452 2012-03-08  David S. Miller  <davem@davemloft.net>
29454         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29455         copyright year.
29456         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29458 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29460         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29461         normalization.
29462         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29463         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29465 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29467         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29468         be defined individually, they must be defined as a block.  Define
29469         S for printing a string instead of hidint the different by using a
29470         macro for adding the 'l'.
29471         * stdio-common/tst-fphex-wide.c: Adjust.
29473 2012-03-07  Marek Polacek  <polacek@redhat.com>
29475         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29477 2012-03-08  Marek Polacek  <polacek@redhat.com>
29479         [BZ #13806]
29480         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29481         * stdio-common/tst-fphex.c: Define a few macros to make the
29482         test reusable.  Use them.
29483         * stdio-common/tst-fphex-wide.c: New file.
29485 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29487         [BZ #6911]
29488         * manual/macros.texi (gnusystems): New macro.
29489         (nongnusystems): Likewise.
29490         (gnulinuxhurdsystems): Likewise.
29491         (gnuhurdsystems): Likewise..
29492         (gnulinuxsystems): Likewise.
29493         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29494         variants of the GNU system, not "GNU system".
29495         * manual/conf.texi: Likewise.
29496         * manual/errno.texi: Likewise.  Update example of errno macro
29497         expansion.
29498         * manual/filesys.texi: Likewise.
29499         (getumask): Document as specific to GNU/Hurd.
29500         * manual/install.texi: Likewise.  Reword some references to
29501         GNU/Linux.
29502         * manual/intro.texi: Likewise.
29503         * manual/io.texi: Likewise.
29504         (File Name Portability): Detail which constraints are inapplicable
29505         to all GNU systems and which are only inapplicable to GNU/Hurd.
29506         * manual/job.texi: Likewise.
29507         * manual/llio.texi: Likewise.
29508         (O_NOCTTY): Document as present on GNU/Linux.
29509         * manual/maint.texi: Likewise.
29510         * manual/memory.texi: Likewise.
29511         * manual/pattern.texi: Likewise.
29512         * manual/pipe.texi: Likewise.
29513         * manual/process.texi: Likewise.
29514         * manual/resource.texi: Likewise.
29515         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29516         child on GNU/Hurd.
29517         * manual/setjmp.texi: Likewise.
29518         * manual/signal.texi: Likewise.
29519         * manual/startup.texi: Likewise.
29520         * manual/stdio.texi: Likewise.
29521         * manual/terminal.texi: Likewise.
29522         (ONLCR): Document as POSIX.
29523         (OXTABS): Document availability on GNU/Linux as XTABS.
29524         (ONOEOT): Document availability separately from other bits.
29525         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29526         * manual/time.texi: Likewise.
29527         * manual/users.texi: Likewise.
29528         * INSTALL: Regenerated.
29529         * sysdeps/gnu/errlist.c: Regenerated.
29531         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29532         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29533         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29534         puts.
29535         * configure: Regenerated.
29537 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29539         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29540         default includes instead of AC_HEADER_CHECK.
29541         * sysdeps/i386/configure: Regenerated.
29543         [BZ #10716]
29544         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29545         * math/s_cacoshf.c (__cacoshf): Likewise.
29546         * math/s_cacoshl.c (__cacoshl): Likewise.
29547         * math/s_casinh.c (__casinh): Set signs of result from argument.
29548         * math/s_casinhf.c (__casinhf): Likewise.
29549         * math/s_casinhl.c (__casinhl): Likewise.
29550         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29551         (casinh_test): Add more tests.
29552         * sysdeps/i386/fpu/libm-test-ulps: Update.
29553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29555 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29557         * po/zh_TW.po: Update from translation team.
29559         * login/Makefile (distribute): Remove variable.
29560         * catgets/Makefile: Likewise.
29561         * mach/Makefile: Likewise.
29562         * malloc/Makefile: Likewise.
29563         * misc/Makefile: Likewise.
29564         * iconv/Makefile: Likewise.
29565         * nscd/Makefile: Likewise.
29566         * hurd/Makefile: Likewise.
29567         * manual/Makefile: Likewise.
29568         * locale/Makefile: Likewise.
29569         * intl/Makefile: Likewise.
29570         * conform/Makefile: Likewise.
29571         * nss/Makefile: Likewise.
29572         * time/Makefile: Likewise.
29573         * soft-fp/Makefile: Likewise.
29574         * dirent/Makefile: Likewise.
29575         * gmon/Makefile: Likewise.
29576         * po/Makefile: Likewise.
29577         * rt/Makefile: Likewise.
29578         * socket/Makefile: Likewise.
29579         * math/Makefile: Likewise.
29580         * signal/Makefile: Likewise.
29581         * debug/Makefile: Likewise.
29582         * elf/Makefile: Likewise.
29583         * timezone/Makefile: Likewise.
29584         * stdlib/Makefile: Likewise.
29585         * iconvdata/Makefile: Likewise.
29586         * sunrpc/Makefile: Likewise.
29587         * io/Makefile: Likewise.
29588         * argp/Makefile: Likewise.
29589         * inet/Makefile: Likewise.
29590         * hesiod/Makefile: Likewise.
29591         * grp/Makefile: Likewise.
29592         * csu/Makefile: Likewise.
29593         * wctype/Makefile: Likewise.
29594         * crypt/Makefile: Likewise.
29595         * libio/Makefile: Likewise.
29596         * string/Makefile: Likewise.
29597         * nis/Makefile: Likewise.
29598         * resolv/Makefile: Likewise.
29599         * stdio-common/Makefile: Likewise.
29600         * wcsmbs/Makefile: Likewise.
29601         * dlfcn/Makefile: Likewise.
29602         * posix/Makefile: Likewise.
29604         [BZ #6959]
29605         * timezone/Makefile: Don't install timezone files, just the programs
29606         and scripts.
29608 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29610         * nss/databases.def: Add missing gshadow entry.
29612         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29614 2012-03-06  Marek Polacek  <polacek@redhat.com>
29616         [BZ #13726]
29617         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29618         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29619         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29620         * stdio-common/tst-long-dbl-fphex.c: New file.
29622 2012-03-06  David S. Miller  <davem@davemloft.net>
29624         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29625         (set_obp_int): New function.
29626         (get_obp_int): New function.
29627         (__get_clockfreq_via_dev_openprom): Likewise.
29628         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29629         Avoid unused variable warnings on 'val' and use builtin_expect.
29630         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29631         __builtin_expect.
29632         (INLINE_CLONE_SYSCALL): Likewise.
29634 2012-03-05  David S. Miller  <davem@davemloft.net>
29636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29638 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29642         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29643         only for |x| >= 40.
29644         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29646 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29648         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29649         Replace gettimeofday with __vdso_gettimeofday.
29651         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29652         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29653         __vdso_clock_gettime and __vdso_getcpu.
29655         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29656         time with __vdso_time.
29658 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29660         * manual/lang.texi (size_t): Note types to which size_t may be
29661         equivalent with the GNU C Library, but do not describe when
29662         differences between them are significant.
29664 2012-03-05  Andreas Jaeger  <aj@suse.de>
29666         * sysdeps/i386/fpu/libm-test-ulps: Update.
29668 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29670         [BZ #3976]
29671         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29672         (__ieee754_pow): Save and restore rounding mode and use
29673         round-to-nearest for main computations.
29674         * math/libm-test.inc (pow_test_tonearest): New function.
29675         (pow_test_towardzero): Likewise.
29676         (pow_test_downward): Likewise.
29677         (pow_test_upward): Likewise.
29678         (main): Call the new functions.
29679         * sysdeps/i386/fpu/libm-test-ulps: Update.
29680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29682         [BZ #3976]
29683         * math/libm-test.inc (cosh_test_tonearest): New function.
29684         (cosh_test_towardzero): Likewise.
29685         (cosh_test_downward): Likewise.
29686         (cosh_test_upward): Likewise.
29687         (sinh_test_tonearest): Likewise.
29688         (sinh_test_towardzero): Likewise.
29689         (sinh_test_downward): Likewise.
29690         (sinh_test_upward): Likewise.
29691         (main): Call the new functions.
29692         * sysdeps/i386/fpu/libm-test-ulps: Update.
29693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29695 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29697         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29698         default stack guard is set in last bytes.
29699         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29701 2012-03-05  Kees Cook  <keescook@chromium.org>
29703         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29705         [BZ #13656]
29706         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29707         possibly allocate from heap instead of stack.
29708         * stdio-common/bug-vfprintf-nargs.c: New file.
29709         * stdio-common/Makefile (tests): Add nargs overflow test.
29711 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29715 2012-03-03  Marek Polacek  <polacek@redhat.com>
29717         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29718         * math/math_private.h: Likewise.
29719         * stdlib/tst-strtod.c: Likewise.
29720         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29721         * sysdeps/x86_64/bits/atomic.h: Likewise.
29723 2012-03-02  David S. Miller  <davem@davemloft.net>
29725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29729         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29730         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29731         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29732         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29734 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29736         [BZ #13792]
29737         * manual/examples/README: New file, says the example source files
29738         can be used under GPL>=2.
29739         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29740         line containing just "*/".
29741         * manual/examples/add.c: Add copyright header (GPL>=2).
29742         * manual/examples/argp-ex1.c: Likewise.
29743         * manual/examples/argp-ex2.c: Likewise.
29744         * manual/examples/argp-ex3.c: Likewise.
29745         * manual/examples/argp-ex4.c: Likewise.
29746         * manual/examples/atexit.c: Likewise.
29747         * manual/examples/db.c: Likewise.
29748         * manual/examples/dir.c: Likewise.
29749         * manual/examples/dir2.c: Likewise.
29750         * manual/examples/execinfo.c: Likewise.
29751         * manual/examples/filecli.c: Likewise.
29752         * manual/examples/filesrv.c: Likewise.
29753         * manual/examples/fmtmsgexpl.c: Likewise.
29754         * manual/examples/genpass.c: Likewise.
29755         * manual/examples/inetcli.c: Likewise.
29756         * manual/examples/inetsrv.c: Likewise.
29757         * manual/examples/isockad.c: Likewise.
29758         * manual/examples/longopt.c: Likewise.
29759         * manual/examples/memopen.c: Likewise.
29760         * manual/examples/memstrm.c: Likewise.
29761         * manual/examples/mkfsock.c: Likewise.
29762         * manual/examples/mkisock.c: Likewise.
29763         * manual/examples/mygetpass.c: Likewise.
29764         * manual/examples/pipe.c: Likewise.
29765         * manual/examples/popen.c: Likewise.
29766         * manual/examples/rprintf.c: Likewise.
29767         * manual/examples/search.c: Likewise.
29768         * manual/examples/select.c: Likewise.
29769         * manual/examples/setjmp.c: Likewise.
29770         * manual/examples/sigh1.c: Likewise.
29771         * manual/examples/sigusr.c: Likewise.
29772         * manual/examples/stpcpy.c: Likewise.
29773         * manual/examples/strdupa.c: Likewise.
29774         * manual/examples/strftim.c: Likewise.
29775         * manual/examples/strncat.c: Likewise.
29776         * manual/examples/subopt.c: Likewise.
29777         * manual/examples/swapcontext.c: Likewise.
29778         * manual/examples/termios.c: Likewise.
29779         * manual/examples/testopt.c: Likewise.
29780         * manual/examples/testpass.c: Likewise.
29781         * manual/examples/timeval_subtract.c: Likewise.
29783         [BZ #13792]
29784         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29785         function to ...
29786         * manual/timeval_subtract.c.texi: ... here, new file.
29788 2012-03-02  David S. Miller  <davem@davemloft.net>
29790         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29792 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29794         [BZ #3976]
29795         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29796         (__sin): Save and restore rounding mode and use round-to-nearest
29797         for all computations.
29798         (__cos): Save and restore rounding mode and use round-to-nearest
29799         for all computations.
29800         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29801         <fenv.h>.
29802         (tan): Save and restore rounding mode and use round-to-nearest for
29803         all computations.
29804         * math/libm-test.inc (cos_test_tonearest): New function.
29805         (cos_test_towardzero): Likewise.
29806         (cos_test_downward): Likewise.
29807         (cos_test_upward): Likewise.
29808         (sin_test_tonearest): Likewise.
29809         (sin_test_towardzero): Likewise.
29810         (sin_test_downward): Likewise.
29811         (sin_test_upward): Likewise.
29812         (tan_test_tonearest): Likewise.
29813         (tan_test_towardzero): Likewise.
29814         (tan_test_downward): Likewise.
29815         (tan_test_upward): Likewise.
29816         (main): Call the new functions.
29817         * sysdeps/i386/fpu/libm-test-ulps: Update.
29818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29820         [BZ #10135]
29821         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29822         small n, then large n, before computing and testing k+n.
29823         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29824         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29825         Likewise.
29826         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29827         Likewise.
29828         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29829         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29830         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29831         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29834         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29835         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29836         * math/libm-test.inc (scalbn_test): Add more tests.
29837         (scalbln_test): Likewise.
29839         * manual/filesys.texi (mode_t): Describe constraints on size and
29840         signedness, not exact equivalence to a particular type.
29841         (ino_t): Likewise.
29842         (ino64_t): Likewise.
29843         (dev_t): Likewise.
29844         (nlink_t): Likewise.
29845         (blkcnt_t): Likewise.
29846         (blkcnt64_t): Likewise.
29847         * manual/llio.texi (off_t): Likewise.
29849         [BZ #3976]
29850         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29851         (__ieee754_exp): Save and restore rounding mode and use
29852         round-to-nearest for all computations.
29853         * math/libm-test.inc (exp_test_tonearest): New function.
29854         (exp_test_towardzero): Likewise.
29855         (exp_test_downward): Likewise.
29856         (exp_test_upward): Likewise.
29857         (main): Call the new functions.
29858         * sysdeps/i386/fpu/libm-test-ulps: Update.
29859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29861 2012-03-01  Chris Demetriou  <cgd@google.com>
29863         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29864         have predictable order.
29866 2012-03-01  David S. Miller  <davem@davemloft.net>
29868         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29870         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29871         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29872         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29873         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29875         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29876         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29877         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29879         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29880         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29881         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29882         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29883         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29887         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29888         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29889         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29891         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29892         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29893         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29894         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29895         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29896         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29897         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29898         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29899         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29900         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29901         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29902         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29904         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29905         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29906         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29907         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29908         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29909         * sysdeps/sparc/elf/configure: Regenerated.
29911 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29913         * configure.in (AS, LD): Require binutils 2.20 or later.
29914         * configure: Regenerated.
29915         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29916         as required minimum version.
29917         * INSTALL: Regenerated.
29919         [BZ #2541]
29920         [BZ #4108]
29921         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29922         before squaring exponent.
29923         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29924         bottom long double and 27 bits of top long double before squaring
29925         exponent.
29926         * math/libm-test.inc (erfc_test): Add more tests.
29927         * sysdeps/i386/fpu/libm-test-ulps: Update.
29928         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29931 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29933         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29934         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29935         containing bit-fields.
29936         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29937         * soft-fp/single.h (_FP_UNION_S): Likewise.
29938         * soft-fp/double.h (_FP_UNION_D): Likewise.
29940 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29942         [BZ #13786]
29943         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29944         not include ../strcmp.S.
29945         [USE_AS_STRNCASECMP_L]: Likewise.
29946         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29947         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29948         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29949         (__strncasecmp_l_ia32): Define as alias to
29950         __strncasecmp_l_nonascii.
29952         [BZ #5794]
29953         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29954         * sysdeps/i386/fpu/libm-test-ulps: Update.
29955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29957         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29960 2012-02-29  Jeff Law  <law@redhat.com>
29962         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29963         out of bounds read.
29965 2012-02-29  Marek Polacek  <polacek@redhat.com>
29967         [BZ #13706]
29968         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29969         * elf/Makefile: Add rules to run tst-unused-dep.out.
29971 2012-02-28  David S. Miller  <davem@davemloft.net>
29973         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29974         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29975         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29976         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29977         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29978         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29980 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29982         * math/libm-test.inc (llround_test): Move one test from
29983         lround_test.  Use TEST_f_L in moved test.
29984         (lround_test): Move misplaced test to llround_test.  Add testcase
29985         from bug 2561.
29987 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29989         * sysdeps/x86_64/fpu/e_expf.S: New file.
29990         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29992 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29994         [BZ #13637]
29995         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29996         of remain_len that may cause incomplete multi-byte character and
29997         false match.
29998         * posix/bug-regex33.c: New file.
29999         * posix/Makefile (tests): Add bug-regex33.
30001 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30003         * manual/macros.texi: New file.
30004         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30005         * manual/libc.texinfo: Include macros.texi.
30006         * manual/creatute.texi: Likewise.
30007         * manual/install.texi: Likewise.
30008         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30009         @glibcadj{} in references to the GNU C Library.
30010         * manual/charset.texi: Likewise.
30011         * manual/conf.texi: Likewise.
30012         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30013         when not using those macros.
30014         * manual/creature.texi: Likewise.
30015         * manual/crypt.texi: Likewise.
30016         * manual/errno.texi: Likewise.
30017         * manual/filesys.texi: Likewise.
30018         * manual/header.texi: Likewise.
30019         * manual/install.texi: Likewise.
30020         * manual/intro.texi: Likewise.
30021         * manual/io.texi: Likewise.
30022         * manual/job.texi: Likewise.
30023         * manual/lang.texi: Likewise.
30024         * manual/libc.texiinfo: Likewise.
30025         * manual/llio.texi: Likewise.
30026         * manual/locale.texi: Likewise.
30027         * manual/maint.texi: Likewise.
30028         * manual/math.texi: Likewise.
30029         * manual/memory.texi: Likewise.
30030         * manual/message.texi: Likewise.
30031         * manual/nss.texi: Likewise.
30032         * manual/pattern.texi: Likewise.
30033         * manual/process.texi: Likewise.
30034         * manual/resource.texi: Likewise.
30035         * manual/search.texi: Likewise.
30036         * manual/setjmp.texi: Likewise.
30037         * manual/signal.texi: Likewise.
30038         * manual/socket.texi: Likewise.
30039         * manual/startup.texi: Likewise.
30040         * manual/stdio.texi: Likewise.
30041         * manual/string.texi: Likewise.
30042         * manual/sysinfo.texi: Likewise.
30043         * manual/syslog.texi: Likewise.
30044         * manual/terminal.texi: Likewise.
30045         * manual/time.texi: Likewise.
30046         * manual/users.texi: Likewise.
30047         * INSTALL: Regenerated.
30048         * NOTES: Regenerated.
30049         * sysdeps/gnu/errlist.c: Regenerated.
30051 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30053         * include/dirent.h: Include <dirstream.h> before
30054         <dirent/dirent.h>.
30056 2012-02-28  David S. Miller  <davem@davemloft.net>
30058         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30059         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30060         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30061         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30063 2012-02-27  David S. Miller  <davem@davemloft.net>
30065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30067         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30068         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30071         frame pointer instead of stack pointer relative arg slot.
30072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30073         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30074         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30076 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30078         [BZ #3992]
30079         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30081 2012-02-27  David S. Miller  <davem@davemloft.net>
30083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30087         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30088         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30089         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30090         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30092 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30094         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30095         later.  Allow versions 5-9.
30096         * configure: Regenerated.
30097         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30098         required minimum version and 4.6 as recommended version.  Do not
30099         mention bugs in GCC 2.7 and 2.8.
30100         * INSTALL: Regenerated.
30102 2012-02-27  David S. Miller  <davem@davemloft.net>
30104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30108         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30109         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30110         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30111         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30113         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30114         manipulate bits before adding and subtracting TWO112[sx].
30115         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30117 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30119         [BZ #13775]
30120         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30121         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30122         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30123         being in POSIX, because they are in 1003.1-2008.
30125         * rt/tst-aio.c: Include <fcntl.h>.
30126         * rt/tst-aio7.c: Likewise.
30127         * rt/tst-aio64.c: Likewise.
30129         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30131 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30133         * manual/install.texi (--with-headers): Describe headers as
30134         interface headers, not private headers.
30135         (Specific advice for GNU/Linux systems): Describe use of headers
30136         from "make headers_install", not private headers from older
30137         kernels.
30138         * INSTALL: Regenerated.
30139         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30140         Change to 2.6.19.
30141         * sysdeps/unix/sysv/linux/configure: Regenerated.
30143         * manual/llio.texi (fclean): Remove documentation.
30145         * manual/Makefile (libc-texi-generated): New variable.  Include
30146         version.texi.
30147         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30148         $(libc-texi-generated), not duplicated list of files.
30149         (version.texi, stamp-version): New rules.
30150         (realclean): Remove $(libc-texi-generated), not individual files
30151         from that list.  Do not remove dir-add.texinfo.
30152         * manual/libc.texinfo: Comment out uses of edition numbers and
30153         references to printed manual.  Remove last-updated dates.
30154         (EDITION): Comment out.
30155         (ISBN): Likewise.
30156         (VERSION, UPDATED): Remove.
30157         (version.texi): Include.
30159 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30161         * sysdeps/posix/spawni.c: Include <signal.h>.
30162         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30163         * sysdeps/pthread/aio_fsync.c: Likewise.
30165 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30167         * conform/Makefile (tests): Run only when not cross-compiling and
30168         when fast-check is not defined.
30170         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30171         * conform/data/limits.h-data: Fixes for POSIX2008.
30172         * conform/run-conformtest.sh: Run all tests.
30173         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30174         headers.
30175         * include/bits/dlfcn.h: Likewise.
30176         * include/langinfo.h: Likewise.
30177         * include/monetary.h: Likewise.
30178         * include/sys/poll.h: Likewise.
30180         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30181         for __USE_GNU.
30182         * posix/spawn.h: Define __need_sigset_t.
30183         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30184         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30185         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30186         to get sigevent_t only.
30187         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30188         only for __USE_GNU.
30189         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30190         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30191         process_vm_writev only for __USE_GNU.
30192         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30194         * conform/Makefile: For now ignore errors from run-conformtest.
30195         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30196         POSIX to avoid namespace pollution.  Don't prepend headers.
30197         * conform/data/aio.h-data: Fixes for POSIX testing.
30198         * conform/data/fcntl.h-data: Likewise.
30199         * conform/data/glob.h-data: Likewise.
30200         * conform/data/grp.h-data: Likewise.
30201         * conform/data/pthread.h-data: Likewise.
30202         * conform/data/pwd.h-data: Likewise.
30203         * conform/data/signal.h-data: Likewise.
30204         * conform/data/spawn.h-data: Likewise.
30205         * conform/data/stdio.h-data: Likewise.
30206         * conform/data/stdlib.h-data: Likewise.
30207         * conform/data/stropts.h-data: Likewise.
30208         * conform/data/sys/mman.h-data: Likewise.
30209         * conform/data/sys/stat.h-data: Likewise.
30210         * conform/data/sys/types.h-data: Likewise.
30211         * conform/data/sys/wait.h-data: Likewise.
30212         * conform/data/time.h-data: Likewise.
30213         * conform/data/unistd.h-data: Likewise.
30214         * conform/data/utime.h-data: Likewise.
30216         * io/sys/stat.h: fchmod was always in POSIX.
30217         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30218         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30219         * rt/aio.h: Define __need_timespec before including <time.h>.
30220         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30221         struct.  Add forward declaration of pthread_attr_t and use it in
30222         sigevent.
30223         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30224         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30225         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30226         always remove CLK_TCK definition.
30228 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30230         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30232 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30234         * conform/run-conformtest.sh: New file.
30235         * conform/Makefile: Run run-conformtest for tests.
30236         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30237         support.
30239         * conform/data/uchar.h-data: New file.
30240         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30241         * conform/data/arpa/inet.h-data: Likewise.
30242         * conform/data/assert.h-data: Likewise.
30243         * conform/data/complex.h-data: Likewise.
30244         * conform/data/cpio.h-data: Likewise.
30245         * conform/data/ctype.h-data: Likewise.
30246         * conform/data/dirent.h-data: Likewise.
30247         * conform/data/dlfcn.h-data: Likewise.
30248         * conform/data/errno.h-data: Likewise.
30249         * conform/data/fcntl.h-data: Likewise.
30250         * conform/data/float.h-data: Likewise.
30251         * conform/data/fmtmsg.h-data: Likewise.
30252         * conform/data/fnmatch.h-data: Likewise.
30253         * conform/data/ftw.h-data: Likewise.
30254         * conform/data/glob.h-data: Likewise.
30255         * conform/data/grp.h-data: Likewise.
30256         * conform/data/iconv.h-data: Likewise.
30257         * conform/data/inttypes.h-data: Likewise.
30258         * conform/data/langinfo.h-data: Likewise.
30259         * conform/data/libgen.h-data: Likewise.
30260         * conform/data/limits.h-data: Likewise.
30261         * conform/data/locale.h-data: Likewise.
30262         * conform/data/math.h-data: Likewise.
30263         * conform/data/monetary.h-data: Likewise.
30264         * conform/data/mqueue.h-data: Likewise.
30265         * conform/data/ndbm.h-data: Likewise.
30266         * conform/data/net/if.h-data: Likewise.
30267         * conform/data/netdb.h-data: Likewise.
30268         * conform/data/netinet/in.h-data: Likewise.
30269         * conform/data/nl_types.h-data: Likewise.
30270         * conform/data/poll.h-data: Likewise.
30271         * conform/data/pthread.h-data: Likewise.
30272         * conform/data/pwd.h-data: Likewise.
30273         * conform/data/regex.h-data: Likewise.
30274         * conform/data/sched.h-data: Likewise.
30275         * conform/data/search.h-data: Likewise.
30276         * conform/data/semaphore.h-data: Likewise.
30277         * conform/data/setjmp.h-data: Likewise.
30278         * conform/data/signal.h-data: Likewise.
30279         * conform/data/spawn.h-data: Likewise.
30280         * conform/data/stdarg.h-data: Likewise.
30281         * conform/data/stdio.h-data: Likewise.
30282         * conform/data/stdlib.h-data: Likewise.
30283         * conform/data/string.h-data: Likewise.
30284         * conform/data/strings.h-data: Likewise.
30285         * conform/data/stropts.h-data: Likewise.
30286         * conform/data/sys/ipc.h-data: Likewise.
30287         * conform/data/sys/mman.h-data: Likewise.
30288         * conform/data/sys/msg.h-data: Likewise.
30289         * conform/data/sys/resource.h-data: Likewise.
30290         * conform/data/sys/select.h-data: Likewise.
30291         * conform/data/sys/sem.h-data: Likewise.
30292         * conform/data/sys/shm.h-data: Likewise.
30293         * conform/data/sys/socket.h-data: Likewise.
30294         * conform/data/sys/stat.h-data: Likewise.
30295         * conform/data/sys/statvfs.h-data: Likewise.
30296         * conform/data/sys/time.h-data: Likewise.
30297         * conform/data/sys/timeb.h-data: Likewise.
30298         * conform/data/sys/times.h-data: Likewise.
30299         * conform/data/sys/types.h-data: Likewise.
30300         * conform/data/sys/uio.h-data: Likewise.
30301         * conform/data/sys/un.h-data: Likewise.
30302         * conform/data/sys/utsname.h-data: Likewise.
30303         * conform/data/sys/wait.h-data: Likewise.
30304         * conform/data/syslog.h-data: Likewise.
30305         * conform/data/tar.h-data: Likewise.
30306         * conform/data/termios.h-data: Likewise.
30307         * conform/data/utime.h-data: Likewise.
30308         * conform/data/utmpx.h-data: Likewise.
30309         * conform/data/varargs.h-data: Likewise.
30310         * conform/data/wchar.h-data: Likewise.
30311         * conform/data/wctype.h-data: Likewise.
30312         * conform/data/wordexp.h-data: Likewise.
30314         * include/stropts.h: New file.
30315         * include/uchar.h: New file.
30316         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30317         * include/assert.h: Likewise.
30318         * include/ctype.h: Likewise.
30319         * include/dirent.h: Likewise.
30320         * include/dlfcn.h: Likewise.
30321         * include/fcntl.h: Likewise.
30322         * include/fnmatch.h: Likewise.
30323         * include/glob.h: Likewise.
30324         * include/grp.h: Likewise.
30325         * include/libio.h: Likewise.
30326         * include/locale.h: Likewise.
30327         * include/math.h: Likewise.
30328         * include/net/if.h: Likewise.
30329         * include/netdb.h: Likewise.
30330         * include/netinet/in.h: Likewise.
30331         * include/pthread.h: Likewise.
30332         * include/pwd.h: Likewise.
30333         * include/regex.h: Likewise.
30334         * include/sched.h: Likewise.
30335         * include/search.h: Likewise.
30336         * include/setjmp.h: Likewise.
30337         * include/signal.h: Likewise.
30338         * include/stdio.h: Likewise.
30339         * include/stdlib.h: Likewise.
30340         * include/string.h: Likewise.
30341         * include/sys/cdefs.h: Likewise.
30342         * include/sys/mman.h: Likewise.
30343         * include/sys/msg.h: Likewise.
30344         * include/sys/resource.h: Likewise.
30345         * include/sys/select.h: Likewise.
30346         * include/sys/socket.h: Likewise.
30347         * include/sys/stat.h: Likewise.
30348         * include/sys/statvfs.h: Likewise.
30349         * include/sys/time.h: Likewise.
30350         * include/sys/times.h: Likewise.
30351         * include/sys/uio.h: Likewise.
30352         * include/sys/utsname.h: Likewise.
30353         * include/sys/wait.h: Likewise.
30354         * include/termios.h: Likewise.
30355         * include/time.h: Likewise.
30356         * include/ulimit.h: Likewise.
30357         * include/unistd.h: Likewise.
30358         * include/utime.h: Likewise.
30359         * include/wchar.h: Likewise.
30360         * include/wctype.h: Likewise.
30361         * include/wordexp.h: Likewise.
30363         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30365         * time/time.h: TIME_UTC must be a macro.
30366         Make timespec_get available for ISO C11 only as well.
30368 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30370         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30371         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30373 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30375         * configure.in: Use -o not -a in test for unsupported multi-arch.
30377 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30379         * manual/texinfo.tex: Update to version 2012-01-19.16.
30381 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30383         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30385 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30387         [BZ #13738]
30388         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30389         * manual/fdl-1.3.texi: New file.
30390         * manual/fdl-1.1.texi: File removed.
30392         [BZ #13738]
30393         * manual/libc.texinfo (FDL_VERSION): New @set.
30394         Use it for mention of FDL in cover text.
30395         (Documentation License): Use it in @include file name.
30397 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30398             Roland McGrath  <roland@hack.frob.com>
30400         [BZ #5461]
30401         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30402         not LONG_LONG_MAX and LONG_LONG_MIN.
30403         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30404         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30405         name.
30406         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30408 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30410         [BZ #2547]
30411         [BZ #11365]
30412         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30413         manipulate bits before adding and subtracting TWO23[sx].
30414         * math/libm-test.inc (nearbyint_test): Add more tests.
30416 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30418         [BZ #2548]
30419         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30420         bits before adding and subtracting TWO23[sx].
30421         * math/libm-test.inc (rint_test): Add more tests.
30422         (rint_test_tonearest): Likewise.
30423         (rint_test_towardzero): Likewise.
30424         (rint_test_downward): Likewise.
30425         (rint_test_upward: Likewise.
30427 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30429         [BZ #10110]
30430         * include/stdc-predef.h: New file.  Extracted from features.h.
30431         * include/features.h: Include stdc-predef.h.
30432         * Makefile (headers): Add stdc-predef.h.
30433         * CONFORMANCE (Compiler limitations): Update.
30435 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30437         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30439 2012-02-21  David S. Miller  <davem@davemloft.net>
30441         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30442         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30444 2012-02-20  David S. Miller  <davem@davemloft.net>
30446         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30447         using a normal save/restore sequence, rather than allocating a
30448         dummy stack frame just to store a frame pointer and restore.
30449         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30451 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30453         * manual/install.texi: Fix stray word in line-wrapped comment.
30455 2012-02-20  David S. Miller  <davem@davemloft.net>
30457         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30458         both binutils and gcc support GOTDATA.
30460         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30461         "rd %pc" in the PIC register setup sequences.
30463         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30464         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30465         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30466         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30467         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30468         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30469         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30470         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30472         (SYSCALL_ERROR_HANDLER): Likewise.
30473         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30474         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30475         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30476         (SYSCALL_ERROR_HANDLER): Likewise.
30478         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30479         (HAVE_GCC_GOTDATA): New.
30480         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30481         relocation support in both binutils and gcc.
30482         * sysdeps/sparc/elf/configure: Regenerate.
30484         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30485         * sysdeps/sparc/sparc32/elf/configure: Delete.
30486         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30487         * sysdeps/sparc/sparc64/elf/configure: Delete.
30488         * sysdeps/sparc/elf/configure.in: New file.
30489         * sysdeps/sparc/elf/configure: Generate.
30491         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30492         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30493         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30494         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30495         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30497 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30499         * manual/install.texi: Do not mention specific glibc version
30500         numbers.
30501         * manual/libc.texinfo (VERSION, UPDATED): Update.
30502         (@copying): Use @copyright{} and range of years.
30504 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30506         [BZ #13695]
30507         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30508         [crti.S not in sysdirs] (generated): Do not append.
30509         [crti.S not in sysdirs] (omit-deps): Likewise.
30510         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30511         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30512         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30513         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30514         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30515         Likewise.
30516         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30517         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30518         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30519         * csu/defs.awk: Remove file.
30520         * sysdeps/generic/initfini.c: Likewise.
30521         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30522         variable.
30523         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30524         Likewise.
30526 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30528         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30529         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30530         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30531         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30532         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30533         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30534         <bits/epoll.h>.
30535         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30536         (__EPOLL_PACKED): Define to empty if not defined by
30537         <bits/epoll.h>.
30538         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30540         bits/epoll.h.
30542 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30544         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30545         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30546         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30547         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30548         <bits/timerfd.h>.
30549         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30551         bits/timerfd.h.
30553 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30555         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30556         in C locale.
30557         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30558         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30559         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30562 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30564         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30565         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30567 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30569         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30570         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30571         defined.
30572         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30573         Likewise.
30574         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30575         entry for 2.16.
30577 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30579         * math/w_acos.c: Use non-signaling floating-point comparisons.
30580         * math/w_acosf.c: Likewise.
30581         * math/w_acosh.c: Likewise.
30582         * math/w_acoshf.c: Likewise.
30583         * math/w_acoshl.c: Likewise.
30584         * math/w_acosl.c: Likewise.
30585         * math/w_asin.c: Likewise.
30586         * math/w_asinf.c: Likewise.
30587         * math/w_asinl.c: Likewise.
30588         * math/w_atanh.c: Likewise.
30589         * math/w_atanhf.c: Likewise.
30590         * math/w_atanhl.c: Likewise.
30591         * math/w_exp2.c: Likewise.
30592         * math/w_exp2f.c: Likewise.
30593         * math/w_exp2l.c: Likewise.
30594         * math/w_j0.c: Likewise.
30595         * math/w_j0f.c: Likewise.
30596         * math/w_j0l.c: Likewise.
30597         * math/w_j1.c: Likewise.
30598         * math/w_j1f.c: Likewise.
30599         * math/w_j1l.c: Likewise.
30600         * math/w_jn.c: Likewise.
30601         * math/w_jnf.c: Likewise.
30602         * math/w_log.c: Likewise.
30603         * math/w_log10.c: Likewise.
30604         * math/w_log10f.c: Likewise.
30605         * math/w_log10l.c: Likewise.
30606         * math/w_log2.c: Likewise.
30607         * math/w_log2f.c: Likewise.
30608         * math/w_log2l.c: Likewise.
30609         * math/w_logf.c: Likewise.
30610         * math/w_logl.c: Likewise.
30611         * math/w_sqrt.c: Likewise.
30612         * math/w_sqrtf.c: Likewise.
30613         * math/w_sqrtl.c: Likewise.
30614         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30615         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30616         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30617         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30618         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30620 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30622         [BZ #9739]
30623         * manual/string.texi (strnlen): Use correct parameter name in
30624         equivalent expression.
30626 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30628         [BZ #11174]
30629         * manual/users.texi (seteuid): Consistently use neweuid for
30630         argument name.
30632 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30634         [BZ #13704]
30635         * manual/nss.texi (Services in the NSS configuration): Correct
30636         list of services in example configuration file.
30638 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30640         [BZ #11322]
30641         * manual/arith.texi: Remove statements about negative zero
30642         behaving identically to zero.
30644 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30646         [BZ #5993]
30647         * manual/install.texi: Do not document upgrading from libc5.
30649 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30651         [BZ #4596]
30652         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30654 2012-02-18  David S. Miller  <davem@davemloft.net>
30656         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30657         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30658         %o7 across the call.
30659         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30660         instead.
30661         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30662         SETUP_PIC_REG_LEAF.
30663         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30664         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30665         * sysdeps/sparc/crtn.S: Likewise.
30667 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30669         * aout/Makefile: Remove.
30671 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30673         [BZ #13058]
30674         * manual/examples/argp-ex1.c (main): Format definition in GNU
30675         style.
30676         * manual/examples/argp-ex2.c (main): Likewise.
30677         * manual/examples/argp-ex3.c (main): Likewise.
30678         * manual/examples/argp-ex4.c (main): Likewise.
30679         * manual/examples/longopt.c (main): Use new-style prototype
30680         definition.
30681         * manual/examples/strncat.c (main): Specify return type and use
30682         (void) for arguments.
30683         * manual/examples/subopt.c (main): Use char **argv argument.
30685 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30687         [BZ #5077]
30688         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30689         rounding modes.
30691 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30693         [BZ #6907]
30694         * manual/string.texi (strchr): Change when strchrnul is
30695         recommended.
30697 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30699         [BZ #174]
30700         * manual/locale.texi (setlocale): Document LOCPATH.
30702 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30704         [BZ #10210]
30705         * manual/process.texi (execle): Move @dots{} before last argument.
30707 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30709         [BZ #12047]
30710         * manual/charset.texi (Generic Charset Conversion): Fix typo
30711         (LC_TYPE -> LC_CTYPE).
30713 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30715         [BZ #5805]
30716         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30717         (scalbnf): Likewise.
30718         (scalbnl): Likewise.
30719         (scalbln): Likewise.
30720         (scalblnf): Likewise.
30721         (scalblnl): Likewise.
30722         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30723         (vwarnx): Likewise.
30724         (verr): Likewise.
30725         (verrx): Likewise.
30726         * manual/filesys.texi (telldir): Use braces around return type.
30727         * manual/llio.texi (mmap): Add space after comma.
30728         (mmap64): Likewise.
30729         * manual/math.texi (jn): Use @var{} on parameter names.
30730         (jnf): Likewise.
30731         (jnl): Likewise.
30732         (yn): Likewise.
30733         (ynf): Likewise.
30734         (ynl): Likewise.
30735         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30736         line.
30737         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30738         "...".
30739         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30740         (sched_get_priority_max): Likewise.
30741         * manual/signal.texi (sigvec): Add space after comma.
30742         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30743         names.
30744         (if_indextoname): Likewise.
30745         (if_freenameindex): Likewise.
30746         (sendto): Use ',' instead of '.' in prototype.
30747         * manual/startup.texi (syscall): Use @dots{} instead of literal
30748         "...".
30749         * manual/stdio.texi (__fpending): Separate initial words of
30750         paragraph from @deftypefun line.
30751         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30752         "...".
30753         (vsyslog): Use @var{} on parameter names.
30754         * manual/terminal.texi (stty): Use @var{} on parameter names.
30755         * manual/users.texi (getutmp): Use @var{} on parameter names.
30756         (getutmpx): Likewise.
30758 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30760         [BZ #6884]
30761         * manual/stdio.texi (fopen): Fix typos in description of
30762         ",ccs=STRING".
30764 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30766         [BZ #4026]
30767         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30768         get clock_id definition.
30770 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30772         [BZ #4822]
30773         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30774         (madvise): Cast every argument to void on its own.
30776 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30778         [BZ #9902]
30779         * manual/startup.texi (Exit Status): Fix typo.
30781 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30783         [BZ #10140]
30784         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30785         * manual/examples/argp-ex2.c: Likewise.
30786         * manual/examples/argp-ex3.c: Likewise.
30788 2012-02-16  Richard Henderson  <rth@redhat.com>
30790         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30791         * sysdeps/s390/s390-32/initfini.c: Remove.
30792         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30793         * sysdeps/s390/s390-64/initfini.c: Remove.
30795 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30797         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30798         compiler output for sysdeps/generic/initfini.c.
30799         * sysdeps/sh/elf/initfini.c: Remove file.
30801 2012-02-16  David S. Miller  <davem@davemloft.net>
30803         [BZ #11494]
30804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30806         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30807         * sysdeps/sparc/crti.S: New file.
30808         * sysdeps/sparc/crtn.S: New file.
30809         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30810         * sysdeps/sparc/sparc64/Makefile: Likewise.
30812 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30814         [BZ #3335]
30815         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30817 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30819         [BZ #4822]
30820         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30822         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30823         (write, read, close): Likewise.
30824         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30826 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30828         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30829         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30830         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30831         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30832         <bits/signalfd.h>.
30833         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30834         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30835         bits/signalfd.h.
30837 2012-02-14  Marek Polacek  <polacek@redhat.com>
30839         * sysdeps/x86_64/crti.S: New file.
30840         * sysdeps/x86_64/crtn.S: New file.
30841         * sysdeps/x86_64/elf/initfini.c: Remove file.
30843 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30845         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30846         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30847         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30848         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30849         <bits/inotify.h>.
30850         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30851         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30852         bits/inotify.h.
30854 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30856         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30857         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30858         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30859         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30860         <bits/eventfd.h>.
30861         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30862         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30863         bits/eventfd.h.
30865 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30867         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30868         __feraiseexcept instead of feraiseexcept.
30870         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30871         nanosleep invocations.
30872         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30873         strings, and add error checking for a nanosleep invocations.
30875 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30877         Replace FSF snail mail address with URLs, as per GNU coding standards.
30878         Most of the snail mail addresses were wrong anyway, and omitting
30879         them makes the source code easier to maintain.  Almost all of the
30880         changes are to license notices and to locale LC_IDENTIFICATION
30881         addresses, except for this one:
30882         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30883         not its snail mail address.
30885 2012-02-09  Richard Henderson  <rth@twiddle.net>
30887         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30888         of kernel-features.h.
30890         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30892 2012-02-08  Marek Polacek  <polacek@redhat.com>
30894         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30895         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30896         * sysdeps/gnu/_G_config.h: Likewise.
30897         * sysdeps/generic/_G_config.h: Likewise.
30899 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30901         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30902         tests.
30903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30905         * sysdeps/powerpc/powerpc32/crti.S: New file.
30906         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30907         * sysdeps/powerpc/powerpc64/crti.S: New file.
30908         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30910         * Makeconfig (have-initfini): Don't set.
30911         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30912         * configure.in (nopic_initfini): Don't substitute.
30913         * config.h.in (HAVE_INITFINI): Don't #undef.
30914         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30915         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30917 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30919         Support crti.S and crtn.S provided directly by architectures.
30920         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30921         [crti.S in sysdirs] (omit-deps): Likewise.
30922         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30923         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30924         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30925         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30926         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30927         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30928         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30929         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30930         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30931         compiler output for sysdeps/generic/initfini.c.
30932         * sysdeps/i386/elf/Makefile: Remove file.
30933         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30935 2012-02-07  Marek Polacek  <polacek@redhat.com>
30937         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30938         * sysdeps/gnu/_G_config.h: Likewise.
30939         * sysdeps/mach/hurd/_G_config.h: Likewise.
30941 2012-02-07  Marek Polacek  <polacek@redhat.com>
30943         * math/Makefile (tests): Add tst-CMPLX2.
30944         * math/tst-CMPLX2.c: New file.
30946 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30948         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30950         * math/libm-test.inc (jn_test): Add missing L suffix.
30952 2012-02-06  Marek Polacek  <polacek@redhat.com>
30954         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30955         * sysdeps/i386/fpu/e_powf.S: Likewise.
30956         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30957         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30958         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30959         * sysdeps/i386/fpu/e_pow.S: Likewise.
30960         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30961         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30962         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30963         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30964         * sysdeps/i386/fpu/e_log2.S: Likewise.
30965         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30966         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30967         * sysdeps/i386/fpu/e_powl.S: Likewise.
30968         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30969         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30970         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30971         * sysdeps/i386/fpu/e_logl.S: Likewise.
30972         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30973         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30974         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30975         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30976         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30977         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30978         * sysdeps/i386/fpu/e_log.S: Likewise.
30979         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30980         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30981         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30982         * sysdeps/i386/fpu/e_logf.S: Likewise.
30983         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30984         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30985         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30986         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30987         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30988         * sysdeps/i386/fpu/e_log10.S: Likewise.
30989         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30990         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30991         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30992         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30993         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30994         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30995         * sysdeps/i386/asm-syntax.h: Likewise.
30996         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30997         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30998         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30999         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31000         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31001         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31002         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31003         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31004         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31005         * sysdeps/powerpc/sysdep.h: Likewise.
31006         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31007         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31009 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31011         [BZ #411]
31012         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31014 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31016         * sysdeps/i386/sysdep.h: Include <features.h>.
31017         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31018         version.
31020 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31022         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31023         Define.
31024         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31025         LOAD_PIC_REG_STR.
31027 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31029         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31030         (SETUP_PIC_REG): Use GET_PC_THUNK.
31031         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31032         macro.
31034 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31036         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31037         for non-PIC compilation.
31038         (SETUP_PIC_REG): Add .p2align directive.
31039         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31040         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31041         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31042         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31043         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31044         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31045         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31046         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31047         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31048         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31049         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31050         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31051         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31052         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31053         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31054         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31055         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31056         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31057         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31058         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31059         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31060         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31061         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31062         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31063         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31064         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31065         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31066         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31067         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31068         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31069         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31070         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31071         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31072         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31073         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31074         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31075         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31076         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31077         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31078         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31079         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31081 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31083         * math/tst-CMPLX.c: Include <stdio.h>.
31085 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31087         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31088         float.
31089         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31090         * sysdeps/sparc/bits/mathdef.h: Likewise.
31092 2012-01-31  Marek Polacek  <polacek@redhat.com>
31094         * libio/libio.h: Don't define _PARAMS.
31095         * locale/programs/config.h: Don't define PARAMS.
31096         * stdlib/strtol_l.c: Likewise.
31097         (__strtol_l): Remove PARAMS from the prototype.
31099 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31101         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31102         names.  Just use the correct names.  Remove unnecessary wrapper
31103         functions.
31104         * malloc/arena.c: Likewise.
31105         * malloc/hooks.c: Likewise.
31107         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31108         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31109         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31111 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31113         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31114         into tail calls.
31115         (update_get_addr): New function.
31116         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31117         GET_ADDR_MODULE parameter.
31119 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31121         * crypt/cert.c: Remove __STDC__ conditionals.
31122         * crypt/crypt-entry.c: Likewise.
31123         * crypt/crypt_util.c: Likewise.
31124         * libio/filedoalloc.c: Likewise.
31125         * libio/fileops.c: Likewise.
31126         * libio/genops.c: Likewise.
31127         * libio/iofclose.c: Likewise.
31128         * libio/iofdopen.c: Likewise.
31129         * libio/iofopen.c: Likewise.
31130         * libio/iofopen64.c: Likewise.
31131         * libio/iogetdelim.c: Likewise.
31132         * libio/iopopen.c: Likewise.
31133         * libio/obprintf.c: Likewise.
31134         * libio/oldfileops.c: Likewise.
31135         * libio/oldiofclose.c: Likewise.
31136         * libio/oldiofdopen.c: Likewise.
31137         * libio/oldiofopen.c: Likewise.
31138         * libio/oldiopopen.c: Likewise.
31139         * libio/wfiledoalloc.c: Likewise.
31140         * libio/wgenops.c: Likewise.
31141         * locale/programs/xmalloc.c: Likewise.
31142         * misc/syslog.c: Likewise.
31143         * stdio-common/xbug.c: Likewise.
31144         * string/memchr.c: Likewise.
31145         * string/memcmp.c: Likewise.
31146         * string/memrchr.c: Likewise.
31147         * string/rawmemchr.c: Likewise.
31148         * sysdeps/posix/getcwd.c: Likewise.
31149         * time/strftime_l.c: Likewise.
31151 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31153         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31154         * config.make.in (config-cflags-sse2avx): Define.
31155         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31156         Fix typo.
31158 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31160         * scripts/config.guess: Update from upstream config git repository.
31161         * scripts/config.sub: Likewise.
31163 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31165         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31166         (EM_NUM): Update.
31167         (R_TILEPRO_*, R_TILEGX_*): New macros.
31169         * scripts/firstversions.awk: Fix bug in version range handling.
31171         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31173         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31175         * include/sys/epoll.h: New file.
31176         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31177         libc_hidden_def.
31179 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31181         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31182         Avoid unnecessary __WORDSIZE == 64 test.
31183         (fmaxf): Use VEX format if possible.
31184         (fmax): Likewise.
31185         (fminf): Likewise.
31186         (fmin): Likewise.
31188         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31189         * math/math_private.h: Remove libc_fegetround* and
31190         libc_fesetround*.
31191         * sysdeps/i386/configure.in: Check for -msse2avx.
31192         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31193         also if SSE2AVX is defined.
31194         Remove libc_fegetround* and libc_fesetround*.
31195         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31196         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31197         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31198         of HAS_YMM_USABLE.
31199         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31200         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31201         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31202         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31203         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31205         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31207 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31209         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31210         size is not set.
31211         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31213 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31215         [BZ #13618]
31216         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31217         relocation.
31218         * Makeconfig (libm): Define.
31219         * elf/Makefile: Add rules to build and run tst-relsort1.
31220         * elf/tst-relsort1.c: New file.
31221         * elf/tst-relsort1mod1.c: New file.
31222         * elf/tst-relsort1mod2.c: New file.
31224 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31226         * math/s_ldexp.c: Remove __STDC__ conditionals.
31227         * math/s_ldexpf.c: Likewise.
31228         * math/s_ldexpl.c: Likewise.
31229         * math/s_nextafter.c: Likewise.
31230         * math/s_nexttowardf.c: Likewise.
31231         * math/s_significand.c: Likewise.
31232         * math/s_significandf.c: Likewise.
31233         * math/s_significandl.c: Likewise.
31234         * math/w_jnl.c: Likewise.
31235         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31236         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31237         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31238         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31239         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31240         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31241         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31242         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31243         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31244         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31245         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31246         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31247         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31248         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31249         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31250         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31251         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31252         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31253         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31254         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31255         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31256         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31257         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31258         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31259         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31260         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31261         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31262         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31263         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31264         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31265         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31266         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31267         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31268         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31269         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31270         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31271         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31272         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31273         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31274         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31275         * sysdeps/ieee754/k_standard.c: Likewise.
31276         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31277         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31278         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31279         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31280         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31281         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31282         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31283         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31284         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31285         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31286         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31287         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31288         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31289         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31290         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31291         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31292         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31293         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31294         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31295         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31296         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31297         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31298         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31299         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31300         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31301         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31302         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31303         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31304         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31305         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31306         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31307         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31308         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31309         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31310         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31311         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31312         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31313         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31314         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31315         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31316         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31317         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31318         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31319         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31320         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31321         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31322         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31323         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31324         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31325         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31326         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31327         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31328         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31329         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31330         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31331         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31332         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31333         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31334         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31335         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31336         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31337         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31338         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31339         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31340         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31341         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31342         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31343         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31344         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31345         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31346         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31347         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31348         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31349         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31350         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31351         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31352         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31353         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31354         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31355         * sysdeps/ieee754/s_matherr.c: Likewise.
31356         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31357         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31358         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31359         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31361 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31363         * crypt/md5.h: Remove __STDC__ conditionals.
31364         * libio/libioP.h: Likewise.
31365         * locale/programs/config.h: Likewise.
31366         * sysdeps/generic/sysdep.h: Likewise.
31367         * sysdeps/i386/asm-syntax.h: Likewise.
31368         * sysdeps/s390/asm-syntax.h: Likewise.
31369         * sysdeps/unix/sysdep.h: Likewise.
31370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31373 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31375         * libio/libio.h: Remove __STDC__ conditionals.
31376         * malloc/obstack.h: Likewise.
31377         * math/complex.h: Likewise.
31378         * math/math.h: Likewise.
31379         * sysdeps/generic/_G_config.h: Likewise.
31380         * sysdeps/gnu/_G_config.h: Likewise.
31381         * sysdeps/mach/hurd/_G_config.h: Likewise.
31382         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31383         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31384         * sysdeps/sparc/bits/mathdef.h: Likewise.
31386 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31388         [BZ #13583]
31389         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31390         Clean up HAS_* macros.
31391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31392         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31393         possible.
31394         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31395         HAS_AVX.
31396         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31397         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31398         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31399         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31400         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31402 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31404         * elf/tst-unique3.cc (gets): Remove declaration.
31405         * elf/tst-unique3lib.cc (gets): Likewise.
31406         * elf/tst-unique3lib2.cc (gets): Likewise.
31407         * elf/tst-unique4.cc (gets): Likewise.
31409 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31411         * include/stdio.h: Add C++ protection.  Add gets declarations and
31412         definitions.
31413         * debug/tst-chk1.c: Don't declare gets here.
31414         * stdio-common/tst-gets.c: Likewise.
31416 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31418         * posix/glob: Remove directory.
31420 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31422         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31424 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31426         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31427         of the non-standard EPFNOSUPPORT.
31429 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31431         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31432         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31433         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31435 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31437         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31439 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31441         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31442         transient errors.
31443         * nscd/grpcache.c (cache_addgr): Likewise.
31444         * nscd/hstcache.c (cache_addhst): Likewise.
31445         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31446         * nscd/pwdcache.c (cache_addpw): Likewise.
31447         * nscd/servicescache.c (cache_addserv): Likewise.
31449 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31451         * malloc/malloc.c: Various cleanups.
31452         * malloc/hooks.c: Likewise.
31454         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31455         * stdlib/bug-fmtmsg1.c: New file.
31457         * stdlib/fmtmsg.c (init): Add missing unlock.
31458         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31460 2012-01-12  Marek Polacek  <polacek@redhat.com>
31462         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31463         and _GNU_SOURCE.
31465 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31467         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31468         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31469         macro to ensure uniqueness of label name.
31470         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31471         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31473 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31475         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31477         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31478         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31479         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31480         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31482 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31484         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31486         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31487         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31488         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31490         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31492         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31493         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31494         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31495         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31497         * math/bits/math-finite.h: Add ldexp support.
31499 2012-01-10  Marek Polacek  <polacek@redhat.com>
31501         * locale/programs/localedef.h (show_archive_content): Add noreturn
31502         attribute.
31504 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31506         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31508 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31510         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31512         * io/Makefile (headers): Add bits/poll2.h.
31514 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31517         typo #include statement.
31519 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31521         * include/sys/cdefs.h: Define __attribute_alloc_size.
31522         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31523         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31524         * elf/pldd.c: Likewise.
31525         * iconv/iconv_charmap.c: Likewise.
31526         * iconv/iconvconfig.c: Likewise.
31527         * iconv/strtab.c: Likewise.
31528         * locale/programs/locale.c: Likewise.
31529         * locale/programs/localedef.h: Likewise.
31530         * locale/programs/simple-hash.c: Likewise.
31531         * nscd/nscd.h: Likewise.
31532         * nss/makedb.c: Likewise.
31533         * sysdeps/generic/ldconfig.h: Likewise.
31534         * locale/programs/localedef.c: Remove xmalloc prototype.
31535         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31537 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31539         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31540         appropriate.
31542 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31544         * math/Makefile (tests): Add tst-CMPLX.
31545         * math/tst-CMPLX.c: New file.
31547         * math/complex.h (CMPLXL): Fix typo.
31549         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31550         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31551         GLIBC_2.16.
31552         * debug/tst-chk1.c: Add poll and ppoll tests.
31553         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31554         * include/sys/poll.h: Add hidden proto for ppoll.
31555         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31556         * sysdeps/mach/hurd/ppoll.c: Likewise.
31557         * io/ppoll.c: Likewise.
31558         * debug/poll_chk.c: New file.
31559         * debug/ppoll_chk.c: New file.
31560         * include/bits/poll2.h: New file.
31561         * io/bits/poll2.h: New file.
31563         [BZ #1350]
31564         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31566         * configure.in: static is always set to yes.  Remove.
31567         * config.make.in: Don't set build-static.
31568         * Makeconfig: Remove use of build-static.
31569         * dlfcn/Makefile: Likewise.
31570         * elf/Makefile: Likewise.
31571         * math/Makefile: Likewise.
31572         * misc/Makefile: Likewise.
31573         * nptl/Makefile: Likewise.
31574         * sysdeps/mach/hurd/Makefile: Likewise.
31576         * configure.in: PWD_P is not used anymore.
31577         * config.make.in: Remove PWD_P entry.
31579         * configure.in: Remove last remnants of RANLIB.
31580         No need to check for signed size_t anymore.
31581         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31582         and IA-64.
31583         Remove __builtin_expect test because we require at least gcc 3.4.
31584         * aclocal.m4: Likewise.
31586         * wcsmbs/mbrtoc16.c: Implement using towc function.
31587         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31588         * wcsmbs/wcsmbsload.c: Likewise.
31589         * iconv/gconv_simple.c: Likewise.
31590         * iconv/gconv_int.h: Likewise.
31591         * iconv/gconv_builtin.h: Likewise.
31592         * iconv/iconv_prog.c: Remove CHAR16 handling.
31594         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31596         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31598         * configure.in: Remove --with-elf and --enable-bounded options.
31599         Dont set base_machine for ia64.  More non-ELF conditions removed.
31600         Remove testing and setting of leading underscore information.
31601         * config.make.in (build-bounded): Set to no.
31602         * config.h.in: Remove NO_UNDERSCORES entry.
31603         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31604         them.
31605         * csu/start.c: Remove !NO_UNDERSCORE code.
31606         * locale/localeinfo.h: Likewise.
31607         * sysdeps/generic/machine-gmon.h: Likewise.
31608         * sysdeps/generic/sysdep.h: Likewise.
31609         * sysdeps/i386/sysdep.h: Likewise.
31610         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31611         * sysdeps/mach/sysdep.h: Likewise.
31612         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31613         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31614         * sysdeps/sh/sysdep.h: Likewise.
31615         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31616         * sysdeps/unix/i386/sysdep.S: Likewise.
31617         * sysdeps/unix/sparc/start.c: Likewise.
31618         * sysdeps/unix/sparc/sysdep.S: Likewise.
31619         * sysdeps/unix/sparc/sysdep.h: Likewise.
31620         * sysdeps/unix/start.c: Likewise.
31621         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31622         * sysdeps/x86_64/sysdep.h: Likewise.
31624 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31626         [BZ #13553]
31627         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31628         for non-gcc.
31629         * argp/argp-fmtstream.h: Use const instead __const.
31630         * argp/argp.h: Likewise.
31631         * assert/assert.h: Likewise.
31632         * bits/fenv.h: Likewise.
31633         * bits/sched.h: Likewise.
31634         * bits/sigset.h: Likewise.
31635         * bits/sigthread.h: Likewise.
31636         * catgets/nl_types.h: Likewise.
31637         * conform/data/pthread.h-data: Likewise.
31638         * crypt/crypt-private.h: Likewise.
31639         * crypt/crypt.h: Likewise.
31640         * crypt/crypt_util.c: Likewise.
31641         * ctype/ctype.h: Likewise.
31642         * debug/execinfo.h: Likewise.
31643         * debug/mbsnrtowcs_chk.c: Likewise.
31644         * debug/mbsrtowcs_chk.c: Likewise.
31645         * debug/wcsnrtombs_chk.c: Likewise.
31646         * debug/wcsrtombs_chk.c: Likewise.
31647         * debug/wcstombs_chk.c: Likewise.
31648         * dirent/dirent.h: Likewise.
31649         * dlfcn/dlfcn.h: Likewise.
31650         * elf/neededtest4.c: Likewise.
31651         * grp/grp.h: Likewise.
31652         * gshadow/gshadow.h: Likewise.
31653         * iconv/gconv.h: Likewise.
31654         * iconv/gconv_int.h: Likewise.
31655         * iconv/gconv_simple.c: Likewise.
31656         * iconv/iconv.h: Likewise.
31657         * iconv/loop.c: Likewise.
31658         * iconv/skeleton.c: Likewise.
31659         * include/aio.h: Likewise.
31660         * include/aliases.h: Likewise.
31661         * include/argz.h: Likewise.
31662         * include/arpa/inet.h: Likewise.
31663         * include/assert.h: Likewise.
31664         * include/dirent.h: Likewise.
31665         * include/dlfcn.h: Likewise.
31666         * include/execinfo.h: Likewise.
31667         * include/fcntl.h: Likewise.
31668         * include/fenv.h: Likewise.
31669         * include/glob.h: Likewise.
31670         * include/grp.h: Likewise.
31671         * include/libintl.h: Likewise.
31672         * include/mntent.h: Likewise.
31673         * include/netdb.h: Likewise.
31674         * include/pwd.h: Likewise.
31675         * include/rpc/netdb.h: Likewise.
31676         * include/sched.h: Likewise.
31677         * include/search.h: Likewise.
31678         * include/shadow.h: Likewise.
31679         * include/signal.h: Likewise.
31680         * include/stdio.h: Likewise.
31681         * include/stdlib.h: Likewise.
31682         * include/string.h: Likewise.
31683         * include/sys/socket.h: Likewise.
31684         * include/sys/stat.h: Likewise.
31685         * include/sys/statfs.h: Likewise.
31686         * include/sys/statvfs.h: Likewise.
31687         * include/sys/syslog.h: Likewise.
31688         * include/sys/time.h: Likewise.
31689         * include/sys/uio.h: Likewise.
31690         * include/time.h: Likewise.
31691         * include/unistd.h: Likewise.
31692         * include/utmp.h: Likewise.
31693         * include/wchar.h: Likewise.
31694         * include/wctype.h: Likewise.
31695         * inet/aliases.h: Likewise.
31696         * inet/arpa/inet.h: Likewise.
31697         * inet/netinet/ether.h: Likewise.
31698         * inet/netinet/in.h: Likewise.
31699         * intl/libintl.h: Likewise.
31700         * io/bits/fcntl2.h: Likewise.
31701         * io/fcntl.h: Likewise.
31702         * io/ftw.h: Likewise.
31703         * io/sys/poll.h: Likewise.
31704         * io/sys/stat.h: Likewise.
31705         * io/sys/statfs.h: Likewise.
31706         * io/sys/statvfs.h: Likewise.
31707         * io/utime.h: Likewise.
31708         * libio/bits/stdio.h: Likewise.
31709         * libio/bits/stdio2.h: Likewise.
31710         * libio/libio.h: Likewise.
31711         * libio/libioP.h: Likewise.
31712         * libio/stdio.h: Likewise.
31713         * locale/lc-ctype.c: Likewise.
31714         * locale/locale.h: Likewise.
31715         * login/utmp.h: Likewise.
31716         * malloc/arena.c: Likewise.
31717         * malloc/malloc.c: Likewise.
31718         * malloc/malloc.h: Likewise.
31719         * malloc/mcheck.c: Likewise.
31720         * malloc/mtrace.c: Likewise.
31721         * math/bits/mathcalls.h: Likewise.
31722         * math/fenv.h: Likewise.
31723         * math/math_private.h: Likewise.
31724         * misc/bits/error.h: Likewise.
31725         * misc/bits/syslog.h: Likewise.
31726         * misc/err.h: Likewise.
31727         * misc/error.h: Likewise.
31728         * misc/fstab.h: Likewise.
31729         * misc/mntent.h: Likewise.
31730         * misc/regexp.h: Likewise.
31731         * misc/search.h: Likewise.
31732         * misc/sgtty.h: Likewise.
31733         * misc/sys/mman.h: Likewise.
31734         * misc/sys/syslog.h: Likewise.
31735         * misc/sys/uio.h: Likewise.
31736         * misc/sys/xattr.h: Likewise.
31737         * misc/ttyent.h: Likewise.
31738         * nis/rpcsvc/ypclnt.h: Likewise.
31739         * nss/nss.h: Likewise.
31740         * posix/bits/unistd.h: Likewise.
31741         * posix/fnmatch.h: Likewise.
31742         * posix/glob.h: Likewise.
31743         * posix/sched.h: Likewise.
31744         * posix/spawn.h: Likewise.
31745         * posix/sys/wait.h: Likewise.
31746         * posix/unistd.h: Likewise.
31747         * posix/wordexp.h: Likewise.
31748         * pwd/pwd.h: Likewise.
31749         * resolv/netdb.h: Likewise.
31750         * resource/sys/resource.h: Likewise.
31751         * rt/aio.h: Likewise.
31752         * rt/bits/mqueue2.h: Likewise.
31753         * rt/mqueue.h: Likewise.
31754         * shadow/shadow.h: Likewise.
31755         * signal/signal.h: Likewise.
31756         * socket/send.c: Likewise.
31757         * socket/sendto.c: Likewise.
31758         * socket/sys/socket.h: Likewise.
31759         * stdio-common/printf.h: Likewise.
31760         * stdlib/bits/stdlib.h: Likewise.
31761         * stdlib/fmtmsg.h: Likewise.
31762         * stdlib/monetary.h: Likewise.
31763         * stdlib/stdlib.h: Likewise.
31764         * stdlib/ucontext.h: Likewise.
31765         * streams/stropts.h: Likewise.
31766         * string/argz.h: Likewise.
31767         * string/bits/string2.h: Likewise.
31768         * string/string.h: Likewise.
31769         * string/strings.h: Likewise.
31770         * sunrpc/rpc/auth.h: Likewise.
31771         * sunrpc/rpc/auth_des.h: Likewise.
31772         * sunrpc/rpc/clnt.h: Likewise.
31773         * sunrpc/rpc/netdb.h: Likewise.
31774         * sunrpc/rpc/pmap_clnt.h: Likewise.
31775         * sunrpc/rpc/xdr.h: Likewise.
31776         * sysdeps/generic/inttypes.h: Likewise.
31777         * sysdeps/generic/net/if.h: Likewise.
31778         * sysdeps/generic/sys/swap.h: Likewise.
31779         * sysdeps/gnu/net/if.h: Likewise.
31780         * sysdeps/gnu/utmpx.h: Likewise.
31781         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31782         * sysdeps/i386/i486/bits/string.h: Likewise.
31783         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31784         * sysdeps/s390/bits/string.h: Likewise.
31785         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31786         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31787         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31788         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31789         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31790         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31791         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31792         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31793         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31794         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31795         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31796         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31797         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31798         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31799         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31800         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31801         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31802         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31803         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31804         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31805         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31806         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31807         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31808         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31809         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31810         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31811         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31812         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31813         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31814         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31815         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31816         * sysvipc/sys/ipc.h: Likewise.
31817         * sysvipc/sys/msg.h: Likewise.
31818         * sysvipc/sys/sem.h: Likewise.
31819         * sysvipc/sys/shm.h: Likewise.
31820         * termios/termios.h: Likewise.
31821         * time/sys/time.h: Likewise.
31822         * time/time.h: Likewise.
31823         * wcsmbs/bits/wchar2.h: Likewise.
31824         * wcsmbs/uchar.h: Likewise.
31825         * wcsmbs/wchar.h: Likewise.
31826         * wctype/wctype.h: Likewise.
31828         [BZ #13551]
31829         * Makeconfig: Remove all but ELF support including AIX support.
31830         * Makerules: Likewise.
31831         * config.h.in: Likewise.
31832         * config.make.in: Likewise.
31833         * configure: Likewise.
31834         * configure.in: Likewise.
31835         * csu/Makefile: Likewise.
31836         * csu/version.c: Likewise.
31837         * debug/Makefile: Likewise.
31838         * dlfcn/Makefile: Likewise.
31839         * elf/Makefile: Likewise.
31840         * extra-lib.mk: Likewise.
31841         * iconv/Makefile: Likewise.
31842         * include/libc-symbols.h: Likewise.
31843         * include/shlib-compat.h: Likewise.
31844         * resolv/Makefile: Likewise.
31845         * resolv/res_libc.c: Likewise.
31846         * rt/Makefile: Likewise.
31847         * sysdeps/i386/asm-syntax.h: Likewise.
31848         * sysdeps/i386/sysdep.h: Likewise.
31849         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31850         * sysdeps/mach/sysdep.h: Likewise.
31851         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31852         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31853         * sysdeps/s390/asm-syntax.h: Likewise.
31854         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31855         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31856         * sysdeps/sh/sysdep.h: Likewise.
31857         * sysdeps/unix/sparc/sysdep.h: Likewise.
31858         * sysdeps/wordsize-32/divdi3.c: Likewise.
31859         * sysdeps/x86_64/sysdep.h: Likewise.
31861         * argp/Versions: Remove _argp_unlock_xxx.
31863         [BZ #13559]
31864         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31865         * abilist/libBrokenLocale.abilist: Likewise.
31866         * abilist/libanl.abilist: Likewise.
31867         * abilist/libc.abilist: Likewise.
31868         * abilist/libcrypt.abilist: Likewise.
31869         * abilist/libdl.abilist: Likewise.
31870         * abilist/libm.abilist: Likewise.
31871         * abilist/libnsl.abilist: Likewise.
31872         * abilist/libpthread.abilist: Likewise.
31873         * abilist/libresolv.abilist: Likewise.
31874         * abilist/librt.abilist: Likewise.
31875         * abilist/libthread_db.abilist: Likewise.
31876         * abilist/libutil.abilist: Likewise.
31877         * abilist/libnss_db.abilist: New file.
31879         * scripts/abilist.awk: Add support for indirect functions.
31881         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31883         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31885         * shlib-versions: Remove entries for ports architectures.
31887         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31888         files in ports.
31889         * elf/stackguard-macros.h: Remove support for IA-64.
31890         * elf/tst-auditmod1.c: Likewise.
31891         * sysdeps/generic/ldsodefs.h: Likewise.
31893         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31894         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31895         configure files.
31897         [BZ #13552]
31898         * configure.in: Remove --enable-omitfp support.
31899         * FAQ.in: Adjust.
31900         * config.make.in: Likewise.
31901         * Makeconfig: Likewise.
31902         * manual/install.texi: Likewise.
31904         In case anyone cares, the IA-64 architecture could move to ports.
31905         * sysdeps/ia64/*: Removed.
31906         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31907         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31909         [BZ #13555]
31910         * configure.in: Remove entries for unsupported architectures.
31912         [BZ #13533]
31913         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31914         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31915         routines.
31916         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31917         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31918         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31919         fall back to using wcrtomb.
31920         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31921         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31922         renaming.
31923         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31924         * wcsmbs/tst-c16c32-1.c: New file.
31926         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31927         local variable.
31929         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31931         * elf/tst-unique3.cc: Add explicit declaration of gets.
31932         * elf/tst-unique3lib.cc: Likewise.
31933         * elf/tst-unique3lib2.cc: Likewise.
31934         * elf/tst-unique4.cc: Likewise.
31936         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31938 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31940         [BZ #13566]
31941         * assert/assert.h (static_assert): Don't define for C++.
31942         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31943         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31945 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31947         * iconv/loop.c (single loop): Fix assertion in storing of
31948         remaining bytes.
31950         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31952 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31954         * posix/getconf.c: Update copyright year.
31955         * nss/getent.c: Likewise.
31956         * nss/makedb.c: Likewise.
31957         * iconv/iconvconfig.c: Likewise.
31958         * iconv/iconv_prog.c: Likewise.
31959         * elf/ldconfig.c: Likewise.
31960         * elf/pldd.c: Likewise.
31961         * elf/sotruss.ksh: Likewise.
31962         * catgets/gencat.c: Likewise.
31963         * csu/version.c: Likewise.
31964         * elf/ldd.bash.in: Likewise.
31965         * elf/sprof.c (print_version): Likewise.
31966         * locale/programs/locale.c: Likewise.
31967         * locale/programs/localedef.c: Likewise.
31968         * login/programs/pt_chown.c: Likewise.
31969         * nscd/nscd.c (print_version): Likewise.
31970         * debug/xtrace.sh: Likewise.
31971         * malloc/memusage.sh: Likewise.
31972         * malloc/mtrace.pl: Likewise.
31973         * debug/catchsegv.sh: Likewise.
31975 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31977         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31978         pure attribute.
31980 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31982         [BZ #13533]
31983         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31984         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31985         transformations.
31986         * iconv/gconv_int.h: Likewise.
31987         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31988         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31989         from libc for GLIBC_2.16.
31990         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31991         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31992         * wcsmbs/uchar.h: Really define mbstate_t.
31993         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31994         * wcsmbs/c16rtomb.c: New file.
31995         * wcsmbs/mbrtoc16.c: New file.
31996         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31997         for C/POSIX locale.
31998         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31999         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32001         * wcsmbs/wchar.h: Add missing __restrict.
32003 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32005         [BZ #13532]
32006         * time/Makefile (routines): Add timespec_get.
32007         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32008         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32009         timespec for ISO C11.
32010         * time/timespec_get.c: New file.
32011         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32012         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32014         [BZ #13531]
32015         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32016         * stdlib/stdlib.h: Declare aligned_alloc.
32017         * Versions.def: Add GLIBC_2.16 for libc.
32018         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32020         [BZ 13527]
32021         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32022         ISO C11.
32024         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32025         code.
32027         [BZ #13528]
32028         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32030         [BZ #13529]
32031         * assert/assert.h (static_assert): Define.
32033         * version.h: Update for 2.16 development version.
32035         [BZ #13526]
32036         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32037         _ISOC11_SOURCE.
32039         * version.h (RELEASE): Bump for 2.15 release.
32040         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32042         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32043         Patch by Marek Polacek <mpolacek@redhat.com>.
32045         * bits/byteswap.h: Protect long long constants with __extension__.
32046         * sysdeps/i386/bits/byteswap.h: Likewise.
32047         * sysdeps/ia64/bits/byteswap.h: Likewise.
32048         * sysdeps/s390/bits/byteswap.h: Likewise.
32049         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32051 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32053         [BZ #13540]
32054         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32055         destination buffer.
32056         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32058 2011-12-23  Marek Polacek  <polacek@redhat.com>
32060         * elf/dl-addr.c (determine_info): Add inline keyword.
32061         * elf/tst-auditmod4b.c (check_avx): Likewise.
32062         * elf/tst-auditmod6b.c (check_avx): Likewise.
32063         * elf/tst-auditmod6c.c (check_avx): Likewise.
32064         * elf/tst-auditmod7b.c (check_avx): Likewise.
32066 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32068         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32069         !__SSE_MATH__.
32071 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32073         [BZ #13540]
32074         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32075         processing for last bytes.
32077 2011-08-06  Bruno Haible  <bruno@clisp.org>
32079         [BZ #13061]
32080         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32081         U+0385, not to U+1FEE.
32083         [BZ #13062]
32084         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32085         entry for U+00A5 U+0301.
32087 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32089         [BZ #13166]
32090         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32091         buffer for the output is too small.
32093         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32094         optimization.
32096         [BZ #13185]
32097         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32098         SSE flags if possible.
32100 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32102         [BZ #13540]
32103         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32104         processing for last bytes.
32106 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32108         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32109         (syscall-list-default-options, syscall-list-default-condition)
32110         (syscall-list-includes): Define.
32111         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32112         list of ABIs and options and #if conditions for each ABI.  Do not
32113         handle common syscalls between ABIs specially.
32114         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32115         Remove.
32116         (syscall-list-variants, syscall-list-32bit-options)
32117         (syscall-list-32bit-condition, syscall-list-64bit-options)
32118         (syscall-list-64bit-condition): Define.
32119         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32120         (syscall-list-variants, syscall-list-32bit-options)
32121         (syscall-list-32bit-condition, syscall-list-64bit-options)
32122         (syscall-list-64bit-condition): Define.
32123         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32124         Remove.
32125         (syscall-list-variants, syscall-list-32bit-options)
32126         (syscall-list-32bit-condition, syscall-list-64bit-options)
32127         (syscall-list-64bit-condition): Define.
32128         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32129         Remove.
32130         (syscall-list-variants, syscall-list-32bit-options)
32131         (syscall-list-32bit-condition, syscall-list-64bit-options)
32132         (syscall-list-64bit-condition): Define.
32134 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32136         * locale/iso-639.def: Add brx entry.
32138         [BZ #13328]
32139         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32140         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32142         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32143         __feraiseexcept_renamed.
32145 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32147         [BZ #13538]
32148         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32149         EPOLLET with unsigned values.
32150         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32151         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32153         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32154         to large cancellation.
32155         * math/s_cacoshf.c: Likewise.
32156         * math/s_cacoshl.c: Likewise.
32158 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32160         [BZ #13305]
32161         [BZ #12786]
32162         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32163         * math/s_cacoshf.c: Likewise.
32164         * math/s_cacoshl.c: Likewise.
32166 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32168         [BZ #13439]
32169         * iconv/gconv.h: Define __GCONV_SWAP.
32170         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32171         * iconvdata/utf-16.c: Likewise.
32172         * iconvdata/utf-32.c: Likewise.
32174 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32176         [BZ #13524]
32177         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32178         numerator after shifting it by one limb.
32180 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32182         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32183         under [__USE_EXTERN_INLINES].
32185 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32187         [BZ #13446]
32188         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32190 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32192         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32193         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32194         optimized code.
32195         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32196         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32197         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32198         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32199         for strncasecmp/strncasecmp_l compilation.
32200         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32201         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32203 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32205         [BZ #13484]
32206         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32207         of __asm__.
32209 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32211         [BZ #13506]
32212         * time/tzfile.c (__tzfile_read): Check values from file header.
32214 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32216         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32217         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32218         * powerpc/powerpc32/dl-start.S: Likewise.
32219         * powerpc/powerpc32/elf/start.S: Likewise.
32220         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32221         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32222         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32223         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32224         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32225         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32226         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32227         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32228         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32229         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32230         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32231         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32232         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32233         * powerpc/powerpc32/memset.S: Likewise.
32234         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32235         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32236         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32237         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32238         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32239         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32240         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32241         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32242         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32243         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32244         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32245         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32246         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32248 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32250         * math/libm-test.inc: Added more nearbyint tests.
32251         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32252         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32253         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32254         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32256 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32258         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32259         FD_CLOEXEC.
32261 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32263         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32264         Add wcscpy-ssse3 wcscpy-c.
32265         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32266         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32267         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32268         * sysdeps/x86_64/wcschr.S: New file.
32269         * sysdeps/x86_64/wcsrchr.S: New file.
32270         * string/test-strcmp.c: Remove checking of wcscmp function for
32271         wrong alignments.
32272         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32273         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32274         wcsrchr-sse2 wcsrchr-c.
32275         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32276         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32277         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32278         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32279         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32280         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32281         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32282         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32283         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32284         * wcsmbc/wcschr.c (WCSCHR): New macro.
32286 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32288         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32289         * wcsmbs/test-wcsrchr.c: New file.
32290         * string/test-strrchr.c: Add wcsrchr support.
32291         (WIDE): New macro.
32292         * wcsmbs/test-wcscpy.c: New file.
32293         * string/test-strcpy.c: Add wcscpy support.
32294         (WIDE): New macro.
32296 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32298         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32299         the inner loop.
32301 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32303         [BZ #13472]
32304         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32306 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32308         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32309         Minor optimizations.
32311         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32312         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32313         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32315 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32317         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32318         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32319         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32320         for gcc to avoid warnings.
32321         * inet/Makefile (tests): Add tst-checks.
32322         * inet/tst-checks.c: New file.
32324         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32325         warning.
32327         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32328         __wmemcmp_sse2.
32330         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32331         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32333         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32335 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32337         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32338         problem.
32340         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32342 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32344         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32345         conditional on GCC version.
32346         (__arch_compare_and_exchange_val_8_acq)
32347         (__arch_compare_and_exchange_val_16_acq)
32348         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32349         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32350         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32352 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32354         * sysdeps/sh/backtrace.c: New file.
32356 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32358         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32359         parenthesis.
32361 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32363         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32364         falling back to utime.
32366 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32368         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32369         expectations for float.
32371 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32373         * locale/weight.h (findidx): Add parameter len.
32374         * locale/weightwc.h (findidx): Likewise.
32375         * posix/fnmatch_loop.c (FCT): Adjust caller.
32376         * posix/regcomp.c (build_equiv_class): Likewise.
32377         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32378         * posix/regexec.c (check_node_accept_bytes): Likewise.
32379         * string/strcoll_l.c (STRCOLL): Likewise.
32380         * string/strxfrm_l.c (STRXFRM): Likewise.
32382 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32384         * Makefile.in: Remove CVSOPT handling.
32385         * configure.in: Remove use of AC_REVISION.
32386         * iconvdata/Makefile (distribute): No need to filter out CVS.
32387         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32388         handling.
32390 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32392         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32393         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32394         [USE_AS_STRNCASECMP_L]: Likewise.
32395         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32396         NO_TLS_DIRECT_SEG_REFS.
32397         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32398         Fix argument offsets for non-PIC.
32399         [USE_AS_STRNCASECMP_L]: Likewise.
32400         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32401         NO_TLS_DIRECT_SEG_REFS.
32403 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32405         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32406         O_CLOEXEC.
32407         * locale/loadlocale.c (_nl_load_locale): Likewise.
32409 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32411         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32412         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32413         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32414         (SYSCALL_GETTIME): Set errno on error.
32416         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32417         count references to noai6ai_cached.
32419 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32421         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32423         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32424         FD_CLOEXEC for /proc/self/maps.
32426         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32427         FD_CLOEXEC for /proc/meminfo.
32429         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32430         gai.conf.
32432         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32433         FD_CLOEXEC for given file.
32435         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32437         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32438         FD_CLOEXEC for /etc/hosts.
32439         (_gethtent): Likewise.
32441         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32443         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32444         cancellation and set FD_CLOEXEC for /etc/netgroup.
32446         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32447         reading /etc/publickey.
32449         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32450         allow cancellation when reading /etc/group.
32452         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32453         cancellation.
32454         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32456         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32457         when using data file.
32459         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32461         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32462         (write_nis_obj): Use "c" and "e" in fopen.
32464         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32466         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32468         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32470         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32472         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32473         locale.alias.
32475         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32477         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32479         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32481         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32482         file parsing and set FD_CLOEXEC.
32484 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32486         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32488 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32490         * malloc/arena.c (arena_get2): Don't call reused_arena when
32491         _int_new_arena failed.
32493 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32495         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32496         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32497         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32498         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32499         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32500         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32501         to compile strcasecmp and strncasecmp.
32502         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32503         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32505         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32507 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32509         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32510         locale-defines.sym to gen-as-const-headers.
32511         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32512         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32513         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32514         to compile strcasecmp and strncasecmp.
32515         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32516         strcasecmp_l and strncasecmp_l.
32517         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32518         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32519         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32520         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32521         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32522         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32523         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32524         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32525         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32526         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32527         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32529 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32531         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32532         result of SYSDEP_GETTIME_CPU to retval.
32533         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32534         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32536         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32537         variable.
32539         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32540         mantissa words.
32541         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32543         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32544         from unused variable.
32546         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32547         DWARF definitions.
32548         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32549         for assembling.
32551         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32552         over namespaces.
32554         * sunrpc/rpc_prot.c (rejected): Fix case value.
32556         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32557         unsigned long long int to avoid warnings in shift.
32559         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32560         of use of trans.
32561         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32562         variable tmp.
32564         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32565         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32566         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32568         * nis/nis_table.c (nis_list): Use variable of correct type for
32569         result of __follow_path call.
32571 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32573         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32574         of math functions ceil, trunc, floor, round, and sqrt, when
32575         avaliable on the platform.
32576         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32577         name clash.
32578         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32579         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32580         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32582 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32584         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32585         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32587 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32589         * include/unistd.h: Fix __readlink return type.
32590         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32592 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32594         * stdlib/ucontext.h: Undo last change for makecontext.
32596 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32598         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32600         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32601         * setjmp/setjmp.h: Mark functions as non-leaf.
32602         * setjmp/bits/setjmp2.h: Likewise.
32603         * stdlib/ucontext.h: Likewise.
32605 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32607         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32608         (reused_arena): Don't check arena limit.
32609         (arena_get2): Atomically check arena limit.
32611 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32613         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32614         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32616         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32617         instructions.
32619 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32621         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32622         handler when locking.
32624         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32625         Fix size of allocated buffer.
32627 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32629         [BZ #10103]
32630         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32631         declarations for long double functions.
32632         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32634         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32636 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32638         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32639         installed.
32641         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32642         is disabled.
32644 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32646         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32648 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32650         * include/alloca.h (stackinfo_alloca_round): Define.
32651         (extend_alloca): Use it.
32652         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32653         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32654         here.
32656         * scripts/check-local-headers.sh: Ignore libaudit.h.
32658         * nscd/Makefile (extra-objs): Make recursively expanded.
32660 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32662         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32663         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32665         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32666         * posix/tst-rfc3484-2.c: Likewise.
32667         * posix/tst-rfc3484-3.c: Likewise.
32669         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32670         process_vm_writev.
32671         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32672         process_vm_writev.
32673         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32674         process_vm_writev from libc using GLIBC_2.15 version.
32676         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32678 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32680         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32681         stack usage.
32683 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32685         [BZ #13367]
32686         * nss/getent.c (initgroups_keys): Show error message in case no group
32687         names are given.
32689         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32690         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32691         __bump_nl_timestamp.
32692         * nscd/connections (nscd_init): When host database is served open
32693         netlink socket and request notification about configuration changes.
32694         (main_loop_poll): Track netlink file descriptor and bump timestamp
32695         in case data becomes available.
32696         (main_loop_epoll): Likewise.
32697         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32698         (database_pers_head): Add extra_data fileds.
32699         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32700         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32701         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32702         Adjust caller.
32703         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32704         in6ai data, call __free_in6ai.
32705         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32706         Add -DHAVE_NETLINK.
32707         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32708         interface information.  Reuse previous data if netlink timestamp
32709         is not changed.
32710         (__bump_nl_timestamp): New function.
32711         (__free_in6ai): New function.
32713 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32715         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32716         close_not_cancel_no_status here.
32717         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32719 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32721         [BZ #13276]
32722         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32723         return value.
32725         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32726         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32727         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32729 2011-07-03  Andreas Jaeger  <aj@suse.de>
32731         [BZ #10709]
32732         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32733         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32734         * math/libm-test.inc (sin_test): Add test case.
32736 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32738         [BZ #13337]
32739         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32740         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32742         * elf/chroot_canon.c (chroot_canon): Cleanups.
32744         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32746         [BZ #13335]
32747         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32748         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32750         * string/test-strchr.c: Make usable for strchrnul testing.
32751         * string/test-strchrnul.c: New file.
32752         * string/Makefile (strop-tests): Add strchrnul.
32754         * po/it.po: Update from translation team.
32755         * po/es.po: Likewise.
32757 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32759         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32760         the three constants needed as parameters.  Drop the others.
32761         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32762         __m128i_strloadu_tolower.
32763         Create and initialize variable zero and use it in all the places
32764         where _mm_setzero_si128 was used.
32766         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32767         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32768         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32769         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32770         anymore.
32771         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32772         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32773         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32774         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32775         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32776         __mpranred, __mptan.
32777         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32778         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32779         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32780         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32781         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32782         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32783         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32784         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32785         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32787 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32789         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32790         redefine if SHARED.
32791         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32794         wide char related routines to wcsmbs subdir.
32796 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32798         [BZ #13344]
32799         * misc/sys/cdefs.h (__THROWNL): Define.
32800         * posix/unistd.h: Use __THREADNL instead of __THREAD
32801         for memory synchronization functions.
32803 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32805         [BZ #13349]
32806         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32807         doesn't exist.
32808         * manual/stdio.texi (Obstack Streams): Node removed.
32810 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32812         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32813         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32814         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32816         * math/math_private.h (math_force_eval): Allow non-addressable
32817         arguments.
32818         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32820 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32822         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32823         file is not needed.
32825         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32826         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32827         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32828         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32829         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32830         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32831         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32832         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32833         Add AVX variants.
32834         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32835         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32836         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32837         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32838         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32839         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32840         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32841         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32842         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32843         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32844         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32845         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32846         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32847         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32848         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32849         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32850         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32851         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32852         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32854         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32855         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32857         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32858         place.  Use VEX encoding when compiling for AVX.
32860 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32862         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32863         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32865         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32867 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32869         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32870         useless if() expression.
32871         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32872         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32873         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32874         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32875         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32876         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32877         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32878         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32879         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32880         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32881         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32882         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32883         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32884         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32885         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32886         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32887         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32888         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32889         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32891         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32893 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32895         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32896         condition.
32897         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32899 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32901         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32902         .text section.  Avoid duplicate constants.
32903         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32904         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32905         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32906         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32907         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32908         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32909         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32910         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32911         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32912         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32913         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32914         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32915         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32916         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32917         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32918         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32919         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32920         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32921         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32922         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32923         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32924         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32925         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32926         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32927         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32928         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32929         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32930         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32931         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32932         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32933         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32934         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32935         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32936         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32937         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32938         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32939         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32940         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32941         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32942         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32943         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32944         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32945         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32946         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32947         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32949 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32951         * sysdeps/x86_64/dla.h: Move to ...
32952         * sysdeps/x86_64/fpu/dla.h: ...here.
32953         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32954         situations.  Use __builtin_fma only for gcc 4.6 and up.
32956         * config.make.in: Add have-mfma4 entry.
32957         * configure.in: Substitute libc_cv_cc_fma4.
32958         * math/Makefile (dbl-only-routines): Add sincostab.
32959         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32960         Use __sincostab not sincos.
32961         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32962         name is a macro.
32963         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32964         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32965         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32966         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32967         using __copysign.
32968         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32969         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32970         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32971         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32972         and __inv.
32973         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32974         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32975         __copysign.
32976         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32977         define aliases when function name is a macro.
32978         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32979         sysdeps/ieee754/dbl-64/sincos.tbl.
32980         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32981         fma4-enabled routines.
32982         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32983         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32984         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32985         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32986         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32987         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32988         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32989         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32990         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32991         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32992         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32993         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32994         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32995         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32996         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32997         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32998         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32999         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33000         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33001         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33002         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33003         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33004         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33005         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33006         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33007         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33008         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33009         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33010         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33011         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33013         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33014         rename.
33015         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33016         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33017         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33018         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33019         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33020         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33021         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33022         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33024 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33026         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33028 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33030         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33032         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33033         prediction.
33034         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33036         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33037         Remove unused variable magic_bits.
33038         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33040         * string/strnlen.c: Define and use STRNLEN macro.
33041         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33042         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33043         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33044         * wcsmbs/wcslen.c: Define and use WCSLEN.
33045         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33046         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33047         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33048         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33049         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33050         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33051         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33053 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33056         strnlen-sse2-no-bsf.
33057         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33058         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33059         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33060         Add strnlen support.
33061         (USE_AS_STRNLEN): New macro.
33062         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33063         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33064         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33065         * sysdeps/x86_64/wcslen.S: New file.
33067 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33069         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33070         XMM-moves are used for copying on small sizes.
33072 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33074         * wcsmbs/Makefile (strop-tests): Add wcschr.
33075         * wcsmbs/test-wcschr.c: New file.
33076         * string/test-strchr.c: Update.
33077         Add wcschr support.
33078         (WIDE): New macro.
33080 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33082         * wcsmbs/Makefile (strop-tests): Add wcslen.
33083         * wcsmbs/test-wcslen.c: New file.
33084         * string/test-strlen.c: Update.
33085         Add wcslen support.
33086         (WIDE): New macro.
33088 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33090         * po/it.po: Update from translation team.
33092 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33094         * sysdeps/x86_64/wcscmp.S: Update.
33095         Fix wrong comparison semantics.
33096         wcscmp shall use signed comparison not unsigned.
33097         Don't use substraction to avoid overflow bug.
33098         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33099         * wcsmbc/wcscmp.c: Likewise.
33100         * string/test-strcmp.c: Likewise.
33101         Add new tests to check cases with negative values.
33103 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33105         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33106         * sysdeps/x86_64/dla.h: ...here.  New file.
33107         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33108         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33109         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33110         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33111         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33112         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33113         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33114         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33115         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33117 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33119         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33120         __ynl_finite aliases.
33122 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33126         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33127         define DLA_FMA.
33128         [DLA_FMA] (EMULV): Use DLA_FMA.
33129         [DLA_FMA] (MUL12): Use EMULV.
33130         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33131         that are not needed.
33132         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33134         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33135         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33136         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33137         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33138         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33140 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33142         * math/s_nan.c: Undef __nan.
33143         * math/s_nanf.c: Undef __nanf.
33144         * math/s_nanl.c: Undef __nanl.
33145         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33146         "math_private.h".
33148 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33150         * math/s_catan.c: Add branch predictions.
33151         * math/s_catanf.c: Likewise.
33152         * math/s_catanh.c: Likewise.
33153         * math/s_catanhf.c: Likewise.
33154         * math/s_catanhl.c: Likewise.
33155         * math/s_catanl.c: Likewise.
33156         * math/s_cexp.c: Likewise.
33157         * math/s_cexpf.c: Likewise.
33158         * math/s_cexpl.c: Likewise.
33159         * math/s_clog.c: Likewise.
33160         * math/s_clog10.c: Likewise.
33161         * math/s_clog10f.c: Likewise.
33162         * math/s_clog10l.c: Likewise.
33163         * math/s_clogf.c: Likewise.
33164         * math/s_clogl.c: Likewise.
33165         * math/s_csqrt.c: Likewise.
33166         * math/s_csqrtf.c: Likewise.
33167         * math/s_csqrtl.c: Likewise.
33168         * math/s_ctanf.c: Likewise.
33169         * math/s_ctanh.c: Likewise.
33170         * math/s_ctanhf.c: Likewise.
33171         * math/s_ctanhl.c: Likewise.
33172         * math/s_ctanl.c: Likewise.
33174         * math/math_private.h: Define __nan, __nanf, __nanl.
33175         * math/s_cacosh.c: Include <math_private.h>.
33176         * math/s_cacoshl.c: Likewise.
33177         * math/s_casinh.c: Likewise.
33178         * math/s_casinhf.c: Likewise.
33179         * math/s_casinhl.c: Likewise.
33180         * math/s_ccos.c: Rely entire on ccosh.
33181         * math/s_ccosf.c: Rely entire on ccoshf.
33182         * math/s_ccosl.c: Rely entirely on ccoshl.
33183         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33184         Remove tests for FE_INVALID.
33185         * math/s_ccoshf.c: Likewise.
33186         * math/s_ccoshl.c: Likewise.
33187         * math/s_csin.c: Likewise.
33188         * math/s_csinf.c: Likewise.
33189         * math/s_csinh.c Likewise.
33190         * math/s_csinhf.c: Likewise.
33191         * math/s_csinhl.c: Likewise.
33192         * math/s_csinl.c: Likewise.
33193         * math/s_ctan.c: Likewise.
33194         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33195         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33196         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33198 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33201         compilation problems.
33203         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33204         __builtin_expect.
33206 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33208         * sysdeps/i386/configure.in: Test for -mfma4 option.
33209         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33210         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33211         COMMON_CPUID_INDEX_80000001.
33212         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33213         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33214         use it if FMA3 is not supported.
33215         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33217         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33218         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33220 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33222         [BZ #12892]
33223         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33224         it would create a cycle with a link time dependency.
33226 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33228         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33229         instruction.
33230         * string/Makefile (strop-tests): Add rawmemchr.
33231         * string/test-rawmemchr.c: New file.
33233         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33234         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33235         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33236         when compiling str{,n}casecmp and when AVX is available.  Hook up
33237         new optimized code in initializers.
33239 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33241         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33242         __feraiseexcept instead of feraiseexcept.
33244 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33246         * math/math_private.h: Define defaults for libc_fetestexcept and
33247         libc_feupdateenv.
33248         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33249         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33250         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33251         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33252         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33253         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33254         libc_fetestexcept and libc_feupdateenv.
33256         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33257         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33258         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33259         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33260         libc_feholdexcept_setround.
33262         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33263         Add s_nearbyint-c and s_nearbyintf-c.
33264         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33265         nearbyintf inlines.
33266         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33267         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33268         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33269         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33271         * math/math_private.h: Define defaults for libc_fegetround,
33272         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33273         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33274         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33275         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33276         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33277         standard functions.
33278         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33279         Remove comments and hacks for old compiler versions.
33280         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33281         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33282         libc_feholdexceptl.
33284 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33286         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33287         (__feraiseexcept_renamed): Add __NTH.
33288         (feraiseexcept): Add __NTH.  Rename local variables to fix
33289         namespace violations.
33291 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33293         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33295         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33297         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33298         recently added interfaces.
33299         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33301         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33302         about macro parameter expansion.
33304         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33305         __NO_MATH_INLINES is defined.  Cleanups.
33307         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33308         and __floorf is target has SSE4.1.
33309         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33310         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33311         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33312         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33314         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33315         name.
33316         (floorf): Likewise.
33318         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33320 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33322         * misc/sys/cdefs.h: Fix last change.
33324         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33325         database lookup.
33327 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33329         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33331         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33332         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33333         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33334         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33335         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33336         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33337         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33338         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33339         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33340         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33341         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33342         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33343         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33344         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33345         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33346         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33347         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33348         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33349         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33350         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33351         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33352         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33354         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33355         ceil, ceilf, floor, floorf.
33357         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33358         Perform IRELATIVE relocations last.
33360         * elf/do-rel.h: Add another parameter nrelative, replacing the
33361         local variable with the same name.  Change name of the function
33362         to end in Rel or Rela (uppercase).
33363         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33364         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33365         elf_dynamic_do_##reloc function.
33367 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33369         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33370         is sufficient, at least on modern CPUs.
33372         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33374         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33375         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33377         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33378         __expl_finite.
33379         * math/bits/math-finite.h: Add entries for exp.
33380         * math/e_expl.c: Add __*_finite alias.
33381         * sysdeps/i386/fpu/e_exp.S: Likewise.
33382         * sysdeps/i386/fpu/e_expf.S: Likewise.
33383         * sysdeps/i386/fpu/e_expl.c: Likewise.
33384         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33385         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33386         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33387         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33388         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33389         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33390         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33392         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33393         is sufficient, at least on modern CPUs.
33395         * ctype/ctype-info.c (__ctype_init): Define.
33396         * include/ctype.h (__ctype_init): Declare.
33397         (__ctype_b_loc): The variable is always initialized.
33398         (__ctype_toupper_loc): Likewise.
33399         (__ctype_tolower_loc): Likewise.
33400         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33401         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33403 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33405         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33407         * configure.in: Also look in $cxxmachine/include for C++ system
33408         headers.
33410 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33412         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33413         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33414         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33415         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33416         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33417         (USE_AS_WMEMCMP): New macro.
33418         Fixing indents.
33419         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33420         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33421         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33422         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33423         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33424         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33425         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33426         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33427         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33428         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33429         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33430         (USE_AS_WMEMCMP): New macro.
33431         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33432         * sysdeps/string/test-memcmp.c: Update.
33433         Fix simple_wmemcmp.
33434         Add new tests.
33435         * wcsmbs/wmemcmp.c: Update.
33436         (WMEMCMP): New macro.
33437         Fix overflow bug.
33439 2011-10-12  Andreas Jaeger  <aj@suse.de>
33441         [BZ #13268]
33442         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33444 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33446         * libio/iofwide.c (do_length): Avoid warning.
33448         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33450 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33452         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33454         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33455         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33456         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33457         * sysdeps/i386/i686/fpu/e_log.S: New file.
33458         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33459         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33461         * ctype/ctype.h: Add support for inlined isXXX functions when
33462         compiling C++ code.
33464 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33466         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33468         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33470 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33472         [BZ #13291]
33473         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33475 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33477         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33478         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33479         feraiseexcept.
33481         * sysdeps/x86_64/memrchr.S: Check for zero size.
33483         * string/stratcliff.c: Add memrchr tests.
33485 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33488         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33489         rawmemchr-sse2 rawmemchr-sse2-bsf.
33490         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33491         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33492         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33493         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33494         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33495         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33496         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33497         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33498         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33499         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33500         * string/memrchr.c (MEMRCHR): New macro.
33502 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33504         Add integration with gcc's -ffinite-math-only and optimize wrapper
33505         functions in libm.
33506         * Versions.def: Define GLIBC_2.15 version for libm.
33507         * math/Makefile (headers): Add bits/math-finite.h.
33508         * math/bits/math-finite.h: New file.
33509         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33510         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33511         * math/e_acoshl.c: Add __*_finite alias.
33512         * math/e_acosl.c: Likewise.
33513         * math/e_asinl.c: Likewise.
33514         * math/e_atan2l.c: Likewise.
33515         * math/e_atanhl.c: Likewise.
33516         * math/e_coshl.c: Likewise.
33517         * math/e_exp10.c: Likewise.
33518         * math/e_exp10f.c: Likewise.
33519         * math/e_exp10l.c: Likewise.
33520         * math/e_exp2l.c: Likewise.
33521         * math/e_fmodl.c: Likewise.
33522         * math/e_gammal_r.c: Likewise.
33523         * math/e_hypotl.c: Likewise.
33524         * math/e_j0l.c: Likewise.
33525         * math/e_j1l.c: Likewise.
33526         * math/e_jnl.c: Likewise.
33527         * math/e_lgammal_r.c: Likewise.
33528         * math/e_log10l.c: Likewise.
33529         * math/e_log2l.c: Likewise.
33530         * math/e_logl.c: Likewise.
33531         * math/e_powl.c: Likewise.
33532         * math/e_sinhl.c: Likewise.
33533         * math/e_sqrtl.c: Likewise.
33534         * math/e_scalb.c: Completely rewritten and optimized.
33535         * math/e_scalbf.c: Likewise.
33536         * math/e_scalbl.c: Likewise.
33537         * math/w_acos.c: Likewise.
33538         * math/w_acosf.c: Likewise.
33539         * math/w_acosl.c: Likewise.
33540         * math/w_acosh.c: Likewise.
33541         * math/w_acoshf.c: Likewise.
33542         * math/w_acoshl.c: Likewise.
33543         * math/w_asin.c: Likewise.
33544         * math/w_asinf.c: Likewise.
33545         * math/w_asinl.c: Likewise.
33546         * math/w_atan2.c: Likewise.
33547         * math/w_atan2f.c: Likewise.
33548         * math/w_atan2l.c: Likewise.
33549         * math/w_atanh.c: Likewise.
33550         * math/w_atanhf.c: Likewise.
33551         * math/w_atanhl.c: Likewise.
33552         * math/w_exp10.c: Likewise.
33553         * math/w_exp10f.c: Likewise.
33554         * math/w_exp10l.c: Likewise.
33555         * math/w_fmod.c: Likewise.
33556         * math/w_fmodf.c: Likewise.
33557         * math/w_fmodl.c: Likewise.
33558         * math/w_j0.c: Likewise.
33559         * math/w_j0f.c: Likewise.
33560         * math/w_j0l.c: Likewise.
33561         * math/w_j1.c: Likewise.
33562         * math/w_j1f.c: Likewise.
33563         * math/w_j1l.c: Likewise.
33564         * math/w_jn.c: Likewise.
33565         * math/w_jnf.c: Likewise.
33566         * math/w_log.c: Likewise.
33567         * math/w_logf.c: Likewise.
33568         * math/w_logl.c: Likewise.
33569         * math/w_log10.c: Likewise.
33570         * math/w_log10f.c: Likewise.
33571         * math/w_log10l.c: Likewise.
33572         * math/w_log2.c: Likewise.
33573         * math/w_log2f.c: Likewise.
33574         * math/w_log2l.c: Likewise.
33575         * math/w_pow.c: Likewise.
33576         * math/w_powf.c: Likewise.
33577         * math/w_powl.c: Likewise.
33578         * math/w_remainder.c: Likewise.
33579         * math/w_remainderf.c: Likewise.
33580         * math/w_remainderl.c: Likewise.
33581         * math/w_scalb.c: Likewise.
33582         * math/w_scalbf.c: Likewise.
33583         * math/w_scalbl.c: Likewise.
33584         * math/w_sqrt.c: Likewise.
33585         * math/w_sqrtf.c: Likewise.
33586         * math/w_sqrtl.c: Likewise.
33587         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33588         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33589         used.
33590         * math/math_private.h: Declare __kernel_standard_f.
33591         * math/w_cosh.c: Remove cruft and optimize a bit.
33592         * math/w_coshf.c: Likewise.
33593         * math/w_coshl.c: Likewise.
33594         * math/w_exp2.c: Likewise.
33595         * math/w_exp2f.c: Likewise.
33596         * math/w_exp2l.c: Likewise.
33597         * math/w_hypot.c: Likewise.
33598         * math/w_hypotf.c: Likewise.
33599         * math/w_hypotl.c: Likewise.
33600         * math/w_lgamma.c: Likewise.
33601         * math/w_lgamma_r.c: Likewise.
33602         * math/w_lgammaf.c: Likewise.
33603         * math/w_lgammaf_r.c: Likewise.
33604         * math/w_lgammal.c: Likewise.
33605         * math/w_lgammal_r.c: Likewise.
33606         * math/w_sinh.c: Likewise.
33607         * math/w_sinhf.c: Likewise.
33608         * math/w_sinhl.c: Likewise.
33609         * math/w_tgamma.c: Likewise.
33610         * math/w_tgammaf.c: Likewise.
33611         * math/w_tgammal.c: Likewise.
33612         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33613         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33614         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33615         Minor optimizations.  Pretty printing.  Remove cruft.
33616         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33617         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33618         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33619         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33620         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33621         * sysdeps/i386/fpu/e_asin.S: Likewise.
33622         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33623         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33624         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33625         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33626         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33627         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33628         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33629         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33630         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33631         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33632         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33633         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33634         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33635         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33636         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33637         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33638         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33639         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33640         * sysdeps/i386/fpu/e_log.S: Likewise.
33641         * sysdeps/i386/fpu/e_log10.S: Likewise.
33642         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33643         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33644         * sysdeps/i386/fpu/e_log2.S: Likewise.
33645         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33646         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33647         * sysdeps/i386/fpu/e_logf.S: Likewise.
33648         * sysdeps/i386/fpu/e_logl.S: Likewise.
33649         * sysdeps/i386/fpu/e_pow.S: Likewise.
33650         * sysdeps/i386/fpu/e_powf.S: Likewise.
33651         * sysdeps/i386/fpu/e_powl.S: Likewise.
33652         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33653         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33654         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33655         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33656         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33657         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33658         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33659         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33660         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33661         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33662         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33664         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33665         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33666         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33667         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33668         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33669         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33670         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33671         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33672         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33674         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33675         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33676         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33677         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33678         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33679         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33680         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33681         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33682         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33683         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33684         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33685         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33686         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33687         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33688         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33689         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33690         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33691         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33692         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33693         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33694         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33695         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33696         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33697         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33698         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33699         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33700         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33701         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33702         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33703         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33704         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33705         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33706         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33707         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33708         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33709         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33710         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33711         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33712         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33713         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33714         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33715         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33716         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33717         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33718         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33719         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33720         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33721         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33722         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33723         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33724         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33725         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33726         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33727         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33728         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33729         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33730         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33731         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33732         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33733         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33734         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33735         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33736         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33737         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33738         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33739         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33740         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33741         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33742         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33743         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33744         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33745         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33746         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33747         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33748         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33749         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33750         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33751         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33752         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33753         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33754         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33755         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33756         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33757         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33758         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33759         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33760         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33761         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33762         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33763         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33764         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33765         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33766         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33767         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33768         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33769         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33770         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33771         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33772         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33773         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33774         (__isnanf): Likewise.
33775         (__isinf_ns): Likewise.
33776         (__isinf_nsf): Likewise.
33777         (__finite): Likewise.
33778         (__finitef): Likewise.
33779         (__ieee754_sqrt): Define as macro.
33780         (__ieee754_sqrtf): Define as macro.
33781         (__ieee754_sqrtl): Define as macro.
33782         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33783         inlined copy.
33784         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33785         __FINITE_MATH_ONLY__ consistent.
33786         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33788 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33790         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33791         of rawmemchr.
33793         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33795 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33797         * po/ja.po: Update from translation team.
33799 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33801         * locale/programs/locarchive.c (prepare_address_space): New function.
33802         (create_archive, enlarge_archive, open_archive): Use it.
33804         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33805         inside [SHARED], where it is used.
33807         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33809         * nss/getent.c (netgroup_keys): Remove unused variable.
33810         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33812 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33814         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33815         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33817         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33818         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33819         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33820         * math/Makefile (libm-calls): Add s_isinf_ns.
33821         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33822         * math/multc3.c: Likewise.
33823         * math/s_casin.c: Likewise.
33824         * math/s_casinf.c: Likewise.
33825         * math/s_casinl.c: Likewise.
33826         * math/s_ccos.c: Likewise.
33827         * math/s_ccosf.c: Likewise.
33828         * math/s_ccosl.c: Likewise.
33829         * math/s_ctan.c: Likewise.
33830         * math/s_ctanf.c: Likewise.
33831         * math/s_ctanh.c: Likewise.
33832         * math/s_ctanhf.c: Likewise.
33833         * math/s_ctanhl.c: Likewise.
33834         * math/s_ctanl.c: Likewise.
33835         * math/w_fmod.c: Likewise.
33836         * math/w_fmodf.c: Likewise.
33837         * math/w_fmodl.c: Likewise.
33838         * math/w_remainder.c: Likewise.
33839         * math/w_remainderf.c: Likewise.
33840         * math/w_remainderl.c: Likewise.
33841         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33842         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33843         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33844         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33845         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33846         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33847         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33848         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33850         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33851         of the number.
33852         * stdio-common/printf_fphex.c: Likewise.
33853         * stdio-common/printf_size.c: Likewise.
33855         * math/e_exp10.c: Include math_private.h using <...> not "...".
33856         * math/e_exp10f.c: Likewise.
33857         * math/e_exp10l.c: Likewise.
33858         * math/e_exp2l.c: Likewise.
33859         * math/e_j0l.c: Likewise.
33860         * math/e_j1l.c: Likewise.
33861         * math/e_jnl.c: Likewise.
33862         * math/e_lgammal_r.c: Likewise.
33863         * math/e_rem_pio2l.c: Likewise.
33864         * math/e_scalb.c: Likewise.
33865         * math/e_scalbf.c: Likewise.
33866         * math/e_scalbl.c: Likewise.
33867         * math/k_cosl.c: Likewise.
33868         * math/k_sinl.c: Likewise.
33869         * math/k_tanl.c: Likewise.
33870         * math/s_cacoshf.c: Likewise.
33871         * math/s_catan.c: Likewise.
33872         * math/s_catanf.c: Likewise.
33873         * math/s_catanh.c: Likewise.
33874         * math/s_catanhf.c: Likewise.
33875         * math/s_catanhl.c: Likewise.
33876         * math/s_catanl.c: Likewise.
33877         * math/s_ccosh.c: Likewise.
33878         * math/s_ccoshf.c: Likewise.
33879         * math/s_ccoshl.c: Likewise.
33880         * math/s_cexp.c: Likewise.
33881         * math/s_cexpf.c: Likewise.
33882         * math/s_cexpl.c: Likewise.
33883         * math/s_clog.c: Likewise.
33884         * math/s_clog10.c: Likewise.
33885         * math/s_clog10f.c: Likewise.
33886         * math/s_clog10l.c: Likewise.
33887         * math/s_clogf.c: Likewise.
33888         * math/s_clogl.c: Likewise.
33889         * math/s_csin.c: Likewise.
33890         * math/s_csinf.c: Likewise.
33891         * math/s_csinh.c: Likewise.
33892         * math/s_csinhf.c: Likewise.
33893         * math/s_csinhl.c: Likewise.
33894         * math/s_csinl.c: Likewise.
33895         * math/s_csqrt.c: Likewise.
33896         * math/s_csqrtf.c: Likewise.
33897         * math/s_csqrtl.c: Likewise.
33898         * math/s_ctan.c: Likewise.
33899         * math/s_ctanf.c: Likewise.
33900         * math/s_ctanh.c: Likewise.
33901         * math/s_ctanhf.c: Likewise.
33902         * math/s_ctanhl.c: Likewise.
33903         * math/s_ctanl.c: Likewise.
33904         * math/s_ldexp.c: Likewise.
33905         * math/s_ldexpf.c: Likewise.
33906         * math/s_ldexpl.c: Likewise.
33907         * math/s_significand.c: Likewise.
33908         * math/s_significandf.c: Likewise.
33909         * math/s_significandl.c: Likewise.
33910         * math/w_acos.c: Likewise.
33911         * math/w_acosf.c: Likewise.
33912         * math/w_acosh.c: Likewise.
33913         * math/w_acoshf.c: Likewise.
33914         * math/w_acoshl.c: Likewise.
33915         * math/w_acosl.c: Likewise.
33916         * math/w_asin.c: Likewise.
33917         * math/w_asinf.c: Likewise.
33918         * math/w_asinl.c: Likewise.
33919         * math/w_atan2.c: Likewise.
33920         * math/w_atan2f.c: Likewise.
33921         * math/w_atan2l.c: Likewise.
33922         * math/w_atanh.c: Likewise.
33923         * math/w_atanhf.c: Likewise.
33924         * math/w_atanhl.c: Likewise.
33925         * math/w_cosh.c: Likewise.
33926         * math/w_coshf.c: Likewise.
33927         * math/w_coshl.c: Likewise.
33928         * math/w_dremf.c: Likewise.
33929         * math/w_exp10.c: Likewise.
33930         * math/w_exp10f.c: Likewise.
33931         * math/w_exp10l.c: Likewise.
33932         * math/w_exp2.c: Likewise.
33933         * math/w_exp2f.c: Likewise.
33934         * math/w_fmod.c: Likewise.
33935         * math/w_fmodf.c: Likewise.
33936         * math/w_fmodl.c: Likewise.
33937         * math/w_hypot.c: Likewise.
33938         * math/w_hypotf.c: Likewise.
33939         * math/w_hypotl.c: Likewise.
33940         * math/w_j0.c: Likewise.
33941         * math/w_j0f.c: Likewise.
33942         * math/w_j0l.c: Likewise.
33943         * math/w_j1.c: Likewise.
33944         * math/w_j1f.c: Likewise.
33945         * math/w_j1l.c: Likewise.
33946         * math/w_jn.c: Likewise.
33947         * math/w_jnf.c: Likewise.
33948         * math/w_jnl.c: Likewise.
33949         * math/w_lgamma.c: Likewise.
33950         * math/w_lgamma_r.c: Likewise.
33951         * math/w_lgammaf.c: Likewise.
33952         * math/w_lgammaf_r.c: Likewise.
33953         * math/w_lgammal.c: Likewise.
33954         * math/w_lgammal_r.c: Likewise.
33955         * math/w_log.c: Likewise.
33956         * math/w_log10.c: Likewise.
33957         * math/w_log10f.c: Likewise.
33958         * math/w_log10l.c: Likewise.
33959         * math/w_log2.c: Likewise.
33960         * math/w_log2f.c: Likewise.
33961         * math/w_log2l.c: Likewise.
33962         * math/w_logf.c: Likewise.
33963         * math/w_logl.c: Likewise.
33964         * math/w_pow.c: Likewise.
33965         * math/w_powf.c: Likewise.
33966         * math/w_powl.c: Likewise.
33967         * math/w_remainder.c: Likewise.
33968         * math/w_remainderf.c: Likewise.
33969         * math/w_remainderl.c: Likewise.
33970         * math/w_scalb.c: Likewise.
33971         * math/w_scalbf.c: Likewise.
33972         * math/w_scalbl.c: Likewise.
33973         * math/w_sinh.c: Likewise.
33974         * math/w_sinhf.c: Likewise.
33975         * math/w_sinhl.c: Likewise.
33976         * math/w_sqrt.c: Likewise.
33977         * math/w_sqrtf.c: Likewise.
33978         * math/w_sqrtl.c: Likewise.
33979         * math/w_tgamma.c: Likewise.
33980         * math/w_tgammaf.c: Likewise.
33981         * math/w_tgammal.c: Likewise.
33983         * po/ja.po: Update from translation team.
33985 2011-09-29  Andreas Jaeger  <aj@suse.de>
33987         [BZ #13179]
33988         * sunrpc/netname.c (netname2host): Fix logic.
33990         [BZ #6779]
33991         [BZ #6783]
33992         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33993         correctly.
33994         * math/w_remainder.c (__remainder): Likewise.
33995         * math/w_remainderf.c (__remainderf): Likewise.
33996         * math/libm-test.inc (remainder_test): Add test cases.
33998 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34000         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34001         sdiv_qrnnd.
34003 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34005         * string/test-memcmp.c: Avoid unncessary #defines.
34006         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34008 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34010         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34011         Use new sse2 version for core i3 - i7 as it's faster
34012         than sse42 version.
34013         (bit_Prefer_PMINUB_for_stringop): New.
34014         * sysdeps/x86_64/rawmemchr.S: Update.
34015         Replace with faster SSE2 version.
34016         * sysdeps/x86_64/memrchr.S: New file.
34017         * sysdeps/x86_64/memchr.S: Update.
34018         Replace with faster SSE2 version.
34020 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34022         * elf/dl-load.c (lose): Add cast to avoid warning.
34024 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34026         * po/ca.po: Update from translation team.
34028         * inet/getnetgrent_r.c: Hook up nscd.
34029         * nscd/Makefile (routines): Add nscd_netgroup.
34030         (nscd-modules): Add netgroupcache.
34031         (CFLAGS-netgroupcache.c): Define.
34032         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34033         (cache_search): Add const to second parameter.
34034         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34035         INNETGR.
34036         (dbs): Add netgrdb entry.
34037         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34038         (verify_persistent_db): Handle netgrdb.
34039         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34040         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34041         GETFDNETGR.
34042         (netgroup_response_header): Define.
34043         (innetgroup_response_header): Define.
34044         (datahead): Add netgroup_response_header and innetgroup_response_header
34045         elements.
34046         * nscd/nscd.conf: Add entries for netgroup cache.
34047         * nscd/nscd.h (dbtype): Add netgrdb.
34048         (_PATH_NSCD_NETGROUP_DB): Define.
34049         (netgroup_iov_disabled): Declare.
34050         (xmalloc, xcalloc, xrealloc): Move declarations here.
34051         (cache_search): Adjust prototype.
34052         Add netgroup-related prototypes.
34053         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34054         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34055         (__nscd_innetgr): Declare.
34056         * nscd/selinux.c (perms): Use access_vector_t as element type and
34057         add netgroup-related initializers.
34058         * nscd/netgroupcache.c: New file.
34059         * nscd/nscd_netgroup.c: New file.
34060         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34061         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34062         For four parameters use innetgr.
34063         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34064         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34065         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34066         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34068         * nscd/connections.c (register_traced_file): Don't register file
34069         for disabled databases.
34071 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34073         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34075         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34076         from tree and freeing node.
34078 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34080         * nss/nsswitch.c (__nss_database_lookup): Handle
34081         nss_parse_service_list out of memory case.
34083 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34085         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34086         out of memory case.
34088 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34090         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34091         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34092         pass it down.
34093         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34094         elf_machine_rela, elf_machine_lazy_rel.
34095         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34096         (ELF_DYNAMIC_DO_REL): Likewise.
34097         (ELF_DYNAMIC_DO_RELA): Likewise.
34098         (ELF_DYNAMIC_RELOCATE): Likewise.
34099         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34100         to ELF_DYNAMIC_DO_REL.
34101         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34102         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34103         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34104         elf_machine_rela.
34105         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34106         skip_ifunc, don't call ifunc function if non-zero.
34107         (elf_machine_rela): Likewise.
34108         (elf_machine_lazy_rel): Likewise.
34109         (elf_machine_lazy_rela): Likewise.
34110         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34111         (elf_machine_lazy_rel): Likewise.
34112         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34113         Likewise.
34114         (elf_machine_lazy_rel): Likewise.
34115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34116         Likewise.
34117         (elf_machine_lazy_rel): Likewise.
34118         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34119         (elf_machine_lazy_rel): Likewise.
34120         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34121         (elf_machine_lazy_rel): Likewise.
34122         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34123         (elf_machine_lazy_rel): Likewise.
34124         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34125         (elf_machine_lazy_rel): Likewise.
34126         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34127         (elf_machine_lazy_rel): Likewise.
34128         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34129         (elf_machine_lazy_rel): Likewise.
34131 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34133         * nss/nss_files/files-init.c (_nss_files_init): Use static
34134         initialization for all the *_traced_file variables.
34136 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34138         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34140 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34142         [BZ #13226]
34143         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34145 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34147         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34148         Reread the line before reparsing it.
34150 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34152         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34154 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34155             Maxim Kuvyrkov  <maxim@codesourcery.com>
34156             Joseph Myers  <joseph@codesourcery.com>
34158         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34159         if needed for __stack_chk_guard.
34161 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34163         * sysdeps/posix/spawni.c (script_execute): Always define it.
34164         It will be optimized away if unused.
34165         (maybe_script_execute): New function.
34166         (__spawni): Call it.
34168         * Makerules: Don't include tls.make.
34169         (config-tls): Always set to thread.
34170         * tls.make.c: File removed.
34172 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34174         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34175         * config.make.in (CPPFLAGS-config): New substituted variable.
34177 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34179         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34181         [BZ #13192]
34182         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34183         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34185 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34187         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34188         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34189         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34190         (CALL_FAIL): Likewise.
34191         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34192         (CALL_FAIL): Macro removed.
34193         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34195 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34197         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34198         for __FINITE_MATH_ONLY__ == 1.
34200 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34202         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34203         __ieee754_sqrt instead of sqrt.
34204         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34205         __ieee754_sqrtf instead of sqrtf.
34206         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34207         __floorf instead of floorf.
34208         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34209         __floorf, __truncf instead of floorf, truncf.
34211 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34213         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34215         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34216         __extern_always_inline.
34217         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34218         32-bit.
34220 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34222         * elf/rtld.c (dl_main): Also relocate in dependency order when
34223         doing symbol dependency testing.
34225 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34227         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34228         Always define `refsym'.
34230 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34232         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34233         (__FD_ELT): Renamed from __FDELT.
34234         * misc/bits/select2.h (__FD_ELT): Likewise.
34235         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34236         __FD_MASK instead of __FDELT, __FDMASK.
34237         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34238         Likewise.
34239         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34240         Likewise.
34242         * elf/Makefile (gen-ldd): Fix pattern.
34244         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34245         (init_tls): Likewise.
34247 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34249         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34251 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34253         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34254         `struct cmsghdr *' instead of `void *'.
34255         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34256         Likewise.
34258 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34260         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34261         if non-absolute.
34262         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34263         ldd_rewrite_script.
34265 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34267         * configure.in: Remove --with-tls option.
34268         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34269         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34270         out in case it is missing.
34271         * sysdeps/ia64/elf/configure.in: Likewise.
34272         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34273         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34274         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34275         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34276         * sysdeps/sh/elf/configure.in: Likewise.
34277         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34278         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34279         * sysdeps/x86_64/elf/configure.in: Likewise.
34280         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34281         * sysdeps/mach/hurd/tls.h: Likewise.
34283         [BZ #13067]
34284         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34286         [BZ #13090]
34287         * configure.in: Fix use of AC_INIT.
34289         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34291 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34293         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34294         __set_errno.
34295         * malloc/hooks.c: Likewise.
34297         [BZ #11929]
34298         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34299         variables statically.
34300         (narenas): Initialize.
34301         (list_lock): Initialize.
34302         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34303         initializtion of main_arena and list_lock.  Small cleanups.
34304         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34305         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34306         Add initializers to main_arena and mp_.
34307         (malloc_state): Remove pagesize member.  Change all users to use
34308         GLRO(dl_pagesize).
34310         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34311         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34312         is always initialized.
34314         * malloc/malloc.c: Removed unused configurations and dead code.
34315         * malloc/arena.c: Likewise.
34316         * malloc/hooks.c: Likewise.
34317         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34319         * include/tls.h: Removed.  USE___THREAD must always be defined.
34320         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34321         * elf/dl-libc.c: Likewise.
34322         * elf/dl-tsd.c: Likewise.
34323         * include/errno.h: Likewise.
34324         * include/netdb.h: Likewise.
34325         * include/resolv.h: Likewise.
34326         * inet/herrno-loc.c: Likewise.
34327         * inet/herrno.c: Likewise.
34328         * malloc/arena.c: Likewise.
34329         * malloc/hooks.c: Likewise.
34330         * malloc/malloc.c: Likewise.
34331         * resolv/res-state.c: Likewise.
34332         * resolv/res_libc.c: Likewise.
34333         * sysdeps/i386/dl-machine.h: Likewise.
34334         * sysdeps/ia64/dl-machine.h: Likewise.
34335         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34336         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34337         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34338         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34339         * sysdeps/sh/dl-machine.h: Likewise.
34340         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34341         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34342         * sysdeps/unix/i386/sysdep.S: Likewise.
34343         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34344         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34345         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34346         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34347         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34348         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34349         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34350         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34351         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34353         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34354         * sysdeps/x86_64/dl-machine.h: Likewise.
34355         * tls.make.c: Likewise.
34357         * configure.in: Remove --with-__thread option.  Make tests for
34358         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34359         tls_model attribute fail if no support is available.  Remove
34360         USE_IN_LIBIO.
34361         * Makeconfig: Adjust for dropped configure option.  All features are
34362         now mandatory.
34363         * Makerules: Likewise.
34364         * Versions.def: Likewise.
34365         * argp/argp-fmtstream.c: Likewise.
34366         * argp/argp-fmtstream.h: Likewise.
34367         * argp/argp-help.c: Likewise.
34368         * assert/assert.c: Likewise.
34369         * config.h.in: Likewise.
34370         * config.make.in: Likewise.
34371         * configure: Likewise.
34372         * configure.in: Likewise.
34373         * csu/Versions: Likewise.
34374         * csu/init.c: Likewise.
34375         * elf/tst-audit2.c: Likewise.
34376         * elf/tst-tls10.c: Likewise.
34377         * elf/tst-tls10.h: Likewise.
34378         * elf/tst-tls11.c: Likewise.
34379         * elf/tst-tls12.c: Likewise.
34380         * elf/tst-tls14.c: Likewise.
34381         * elf/tst-tlsmod11.c: Likewise.
34382         * elf/tst-tlsmod12.c: Likewise.
34383         * elf/tst-tlsmod13.c: Likewise.
34384         * elf/tst-tlsmod13a.c: Likewise.
34385         * elf/tst-tlsmod14a.c: Likewise.
34386         * elf/tst-tlsmod15b.c: Likewise.
34387         * elf/tst-tlsmod16a.c: Likewise.
34388         * elf/tst-tlsmod16b.c: Likewise.
34389         * elf/tst-tlsmod7.c: Likewise.
34390         * elf/tst-tlsmod8.c: Likewise.
34391         * elf/tst-tlsmod9.c: Likewise.
34392         * gmon/gmon.c: Likewise.
34393         * grp/fgetgrent_r.c: Likewise.
34394         * grp/putgrent.c: Likewise.
34395         * hurd/fopenport.c: Likewise.
34396         * include/libc-symbols.h: Likewise.
34397         * include/tls.h: Likewise.
34398         * intl/gettextP.h: Likewise.
34399         * intl/loadinfo.h: Likewise.
34400         * locale/global-locale.c: Likewise.
34401         * locale/localeinfo.h: Likewise.
34402         * mach/devstream.c: Likewise.
34403         * malloc/arena.c: Likewise.
34404         * malloc/set-freeres.c: Likewise.
34405         * misc/err.c: Likewise.
34406         * misc/getttyent.c: Likewise.
34407         * misc/mntent_r.c: Likewise.
34408         * posix/getopt.c: Likewise.
34409         * posix/wordexp.c: Likewise.
34410         * pwd/fgetpwent_r.c: Likewise.
34411         * resolv/Versions: Likewise.
34412         * resolv/res_hconf.c: Likewise.
34413         * shadow/fgetspent_r.c: Likewise.
34414         * shadow/putspent.c: Likewise.
34415         * stdio-common/printf_fphex.c: Likewise.
34416         * stdio-common/tmpfile.c: Likewise.
34417         * stdlib/abort.c: Likewise.
34418         * stdlib/fmtmsg.c: Likewise.
34419         * sunrpc/auth_unix.c: Likewise.
34420         * sunrpc/clnt_perr.c: Likewise.
34421         * sunrpc/clnt_tcp.c: Likewise.
34422         * sunrpc/clnt_udp.c: Likewise.
34423         * sunrpc/clnt_unix.c: Likewise.
34424         * sunrpc/openchild.c: Likewise.
34425         * sunrpc/svc_simple.c: Likewise.
34426         * sunrpc/svc_tcp.c: Likewise.
34427         * sunrpc/svc_udp.c: Likewise.
34428         * sunrpc/svc_unix.c: Likewise.
34429         * sunrpc/xdr.c: Likewise.
34430         * sunrpc/xdr_array.c: Likewise.
34431         * sunrpc/xdr_rec.c: Likewise.
34432         * sunrpc/xdr_ref.c: Likewise.
34433         * sunrpc/xdr_stdio.c: Likewise.
34435 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34437         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34439 2011-07-03  Andreas Jaeger  <aj@suse.de>
34441         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34442         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34443         regenerate with gen-libm-tests.pl.
34445 2010-05-12  Petr Baudis  <pasky@suse.cz>
34447         [BZ #11589]
34448         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34449         around j0() zero points by switching to j1().
34450         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34451         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34452         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34453         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34455 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34457         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34458         instead of 0.
34459         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34460         instead of 0.
34461         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34462         Patch in part by Pavel Roskin <proski@gnu.org>.
34464         [BZ #13138]
34465         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34466         realloc.
34467         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34468         Free memory block if necessary.
34470         [BZ #12847]
34471         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34472         be NULL.  Don't lock in this case.
34474 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34476         * elf/elf.h (ELFOSABI_GNU): New macro.
34477         (ELFOSABI_LINUX): Define to that.
34479 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34481         * string/strncat.c (strncat): Undef the symbol in case it has been
34482         defined in bits/string.h.
34484 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34486         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34488         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34489         link map.
34491 2011-08-17  Andreas Jaeger  <aj@suse.de>
34493         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34495 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34496             Ian Lance Taylor  <iant@google.com>
34498         * math/libm-test.inc (lround_test): New testcase.
34499         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34501 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34503         * Makefile: Remove support for automatic cvs check-ins.
34504         * Makerules: Likewise.
34505         * config.make.in: Likewise.
34506         * configure.in: Likewise.
34507         * intl/Makefile: Likewise.
34508         * locale/Makefile: Likewise.
34509         * po/Makefile: Likewise.
34510         * posix/Makefile: Likewise.
34511         * sysdeps/gnu/Makefile: Likewise.
34512         * sysdeps/mach/hurd/Makefile: Likewise.
34513         * sysdeps/sparc/sparc32/Makefile: Likewise.
34515         [BZ #13118]
34516         * posix/Makefile (bug-regex32-ENV): Define.
34517         Patch by John Stanley <jpsinthemix@verizon.net>.
34519         * misc/Makefile (headers): Add bits/select2.h.
34520         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34521         * misc/bits/select2.h: New file.
34522         * include/bits/select2.h: New file.
34523         * debug/Makefile (routines): Add fdelt_chk.
34524         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34525         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34526         FD_ISSET.
34527         * debug/fdelt_chk.c: New file.
34529         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34530         * wcsmbs/test-wmemcmp.c: Likewise.
34531         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34532         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34534 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34536         * string/Makefile (strop-tests): Add memcmp.
34537         * string/test-wmemcmp.c: New file.
34538         * string/test-memcmp.c: Add wmemcmp support.
34540 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34542         [BZ #13153]
34543         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34544         2011-07-19 change.
34546         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34547         garbage value in a __mach_port_mod_refs call in the cases of the
34548         task-self and thread-self ports.
34550 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34552         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34554 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34556         * elf/dl-load.c (lose): Check for non-null L.
34558 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34560         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34562         * elf/dl-libc.c (dlerror_run): Pass back error code from
34563         dl_catch_error.
34565         [BZ #13123]
34566         * elf/dl-load.c (lose): Free l_origin if it is valid.
34568         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34569         names.
34570         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34571         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34572         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34573         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34574         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34575         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34577 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34579         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34580         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34581         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34582         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34583         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34584         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34585         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34586         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34587         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34588         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34590 2011-08-15  Alan Modra  <amodra@gmail.com>
34592         [BZ #13092]
34593         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34594         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34595         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34596         ppc_mcount to static-only-routines.
34597         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34598         __mcount_internal.
34599         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34600         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34602 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34604         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34605         for finite and infinity parameters.
34607 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34609         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34610         and add nop instructions for throughput optimization.
34611         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34613 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34615         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34616         aligned copy for power7 with vector-scalar instructions.
34617         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34619 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34622         AVX check.
34624 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34626         [BZ #13144]
34627         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34628         last change.
34630 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34632         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34633         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34634         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34635         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34636         clock_gettime.
34638 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34640         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34641         Forgot to demangle the pointer.
34643         * sysdeps/i386/sysdep.h: Define atom_text_section.
34644         * sysdeps/x86_64/sysdep.h: Likewise.
34645         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34646         section with atom_text_section.
34647         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34648         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34649         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34650         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34651         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34653         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34654         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34655         already be defined.  Change to take two parameters and don't assign
34656         result to variable.  Adjust all users.
34657         Define INTERNAL_GETTIME if not already defined.
34658         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34659         call.
34660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34661         HAVE_CLOCK_GETTIME_VSYSCALL.
34662         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34664         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34665         gettimeofday vsyscall, just use time.
34667 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34669         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34670         <errno.h>.
34672 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34674         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34675         syscall on x86-64.
34676         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34677         syscall.
34678         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34679         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34680         syscall if possible.
34682 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34684         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34685         e_ident.  Don't pass to find_mapsXX.
34686         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34688 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34691         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34692         * sysdeps/x86_64/multiarch/strchr.S: Update.
34693         Check bit_slow_BSF bit.
34694         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34695         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34696         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34698 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34700         [BZ #13134]
34701         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34702         before glibc 2.15.
34703         (tryshell): Define.
34704         (__spawni): Change last parameter to be flag.  Test
34705         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34706         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34707         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34708         * posix/spawni.c: Likewise.
34709         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34710         * posix/spawnp.c: Likewise.  Change normal version to use
34711         SPAWN_XFLAGS_USE_PATH.
34712         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34713         SPAWN_XFLAGS_TRY_SHELL.
34715         [BZ #13150]
34716         * posix/glob.h: Remove gcc 1.x support.
34718         [BZ #13068]
34719         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34721 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34723         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34724         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34725         strrchr-sse2-bsf
34726         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34727         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34728         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34729         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34730         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34731         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34733 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34735         * sysdeps/x86_64/wcscmp.S: New file.
34737         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34738         wcscmp-c wcscmp-sse2
34739         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34740         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34741         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34742         * wcsmbs/wcscmp.c: Allow renaming.
34744 2011-09-05  David S. Miller  <davem@davemloft.net>
34746         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34747         stack slot, rather than the struct return pointer slot.
34748         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34749         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34751         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34753 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34755         * po/ja.po: Update from translation team.
34757         [BZ #13144]
34758         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34759         kernel in 64-bit binaries.
34761 2011-09-01  David S. Miller  <davem@davemloft.net>
34763         * elf/elf.h (HWCAP_SPARC_*): Move to..
34764         * sysdeps/sparc/sysdep.h: this new file and add new values.
34765         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34766         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34767         _DL_HWCAP_COUNT to 24.
34768         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34769         entries.
34770         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34771         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34772         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34773         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34774         instead of magic constants.
34775         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34777 2011-08-31  David S. Miller  <davem@davemloft.net>
34779         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34780         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34781         Reimplement to do errno handling inline.
34782         (SYSCALL_ERROR_HANDLER): New macro.
34783         (__SYSCALL_STRING): Do not do errno handling in asm.
34784         (__CLONE_SYSCALL_STRING): Delete.
34785         (__INTERNAL_SYSCALL_STRING): Delete.
34786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34787         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34788         (PSEUDO): Reimplement to do errno handling inline.
34789         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34790         (SYSCALL_ERROR_HANDLER): New macro.
34791         (__SYSCALL_STRING): Do not do errno handling in asm.
34792         (__CLONE_SYSCALL_STRING): Delete.
34793         (__INTERNAL_SYSCALL_STRING): Delete.
34794         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34795         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34796         i386.
34797         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34798         (inline_syscall*): Add 'err' argument.
34799         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34800         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34801         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34802         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34804         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34805         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34807 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34809         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34811 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34813         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34814         directive.
34816 2011-08-24  David S. Miller  <davem@davemloft.net>
34818         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34820 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34822         * elf/Makefile: Add rules to build and run unload8 test.
34823         * elf/unload8.c: New file.
34824         * elf/unload8mod1.c: New file.
34825         * elf/unload8mod1x.c: New file.
34826         * elf/unload8mod2.c: New file.
34827         * elf/unload8mod3.c: New file.
34829         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34830         it wasn't used.
34832 2011-08-23  David S. Miller  <davem@davemloft.net>
34834         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34835         subtract stack bias.
34836         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34837         %sp not %fp in calculations.
34838         (_JMPBUF_UNWINDS_ADJ): Likewise.
34840         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34841         (aio_suspend): Call it to force an exception region around the
34842         AIO_MISC_WAIT() invocation.
34844 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34846         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34847         backslash.
34849 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34851         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34852         protection macro.
34853         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34854         and <dl-machine.h>.
34855         (Elf64_FuncDesc): Remove.
34857 2011-08-22  David S. Miller  <davem@davemloft.net>
34859         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34860         sigaltstack check, add missing cfi directives.
34861         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34862         missing cfi directives, and sigaltstack handling.
34864 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34866         [BZ #11724]
34867         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34868         object is seen twice.
34869         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34871         * elf/Makefile (distribute): Add tst-initorder2.c.
34872         (tests): Add tst-initorder2.
34873         (modules-names): Add tst-initorder2a tst-initorder2b
34874         tst-initorder2c tst-initorder2d.  Add rules to build them.
34875         ($(objpfx)tst-initorder2.out): New rule.
34876         * elf/tst-initorder2.c: New file.
34877         * elf/tst-initorder2.exp: New file.
34879 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34881         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34883         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34884         dependencies back to end of function.
34886         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34887         $(elfobjdir)/ld.so.
34889 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34891         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34892         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34893         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34894         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34895         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34896         of __vdso_gettimeofday.
34897         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34898         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34899         attribute_hidden.
34900         (_libc_vdso_platform_setup): Remove initialization of
34901         __vdso_gettimeofday and __vdso_time.
34903 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34905         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34906         and fgetc_unlocked.
34907         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34908         getc_unlocked.
34910         * elf/dl-open.c (add_to_global): Report additions to the global scope
34911         for LD_DEBUG=scopes.
34912         (dl_open_worker): Also print scope of newly loaded dependencies.
34913         (_dl_show_scope): Indicate if there is no scope.
34915         [BZ #13114]
34916         * stdio-common/Makefile (tests): Add bug24.
34917         * stdio-common/bug24.c: New file.
34919 2011-08-19  Andreas Jaeger  <aj@suse.de>
34921         [BZ #13114]
34922         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34923         non-existant file when using close-on-exec mode.
34925 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34927         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34928         the very first instruction.
34930         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34931         the CFI state in the end.
34932         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34933         inclusion of dl-trampoline.h.
34934         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34936 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34938         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34939         expectations for long double.
34941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34942         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34944 2011-08-14  David S. Miller  <davem@davemloft.net>
34946         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34947         artificual limit depends upon the system page size.
34949 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34951         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34952         * resolv/Makefile: Define CFLAGS-libresolv.
34954 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34956         * nss/makedb.c (compute_tables): Make variables used in nested
34957         function static.
34959 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34961         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34962         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34963         if buffer was too small.
34965         * elf/pldd.c (main): Attach to all threads in the process.
34966         Rewrite /proc handling to use *at functions.
34968 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34970         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34971         specifies first scope to show.
34972         (dl_open_worker): Update callers.  Move printing scope of new
34973         object to before the relocation.
34974         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34975         * sysdeps/generic/ldsodefs.h: Update declaration.
34977         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34978         string for the scope number.
34980 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34982         * nscd/servicescache.c (cache_addserv): Make sure written is always
34983         initialized.
34985 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34987         * sysdeps/i386/i486/bits/atomic.h
34988         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34989         statement expression, so as to suppress "set but not used" warning.
34990         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34992         * string/strncat.c (STRNCAT): Use prototype definition.
34994         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34995         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34996         -Iprograms here.
34997         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34998         (localedef-modules): Add localedef.
34999         (locale-modules): Add locale.
35001         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35002         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35003         to avoid a warning.
35005 2011-08-14  David S. Miller  <davem@davemloft.net>
35007         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35008         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35010 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35012         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35013         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35014         * elf/rtld.c (dl_main): Set l_name of vDSO.
35015         Call _dl_show_scope when DL_DEBUG_SCOPES.
35016         (process_dl_debug): Recognize scopes flag and also set it for all.
35017         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35018         Declare _dl_show_scope.
35020         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35021         (do_dlopen): Pass caller_dlopen to dl_open.
35022         (__libc_dlopen_mode): Initialize caller_dlopen.
35024         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35025         of libc.  Make tolower call locale-independent.  Optimize a bit by
35026         using isdigit instead of isalnum.
35027         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35029 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35031         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35032         was a dependency or dynamically loaded.
35034 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35036         * intl/l10nflist.c: Allow architecture-specific pop function.
35037         * sysdeps/x86_64/l10nflist.c: New file.
35039         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35040         classification.
35042 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35044         * include/dirent.h: Add libc_hidden_proto for scandirat and
35045         scandirat64.  Don't declare __scandirat64.
35046         * dirent/scandirat.c: Add libc_hidden_def.
35047         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35048         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35050 2011-08-10  David S. Miller  <davem@davemloft.net>
35052         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35053         enum.
35054         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35055         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35056         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35058 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35060         * Versions.def [libc]: Add GLIBC_2.15.
35061         * dirent/Makefile (routines): Add scandirat and scandirat64.
35062         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35063         GLIBC_2.15.
35064         * dirent/dirent.h: Declare scandirat and scandirat64.
35065         * dirent/scandirat.c: New file.
35066         * dirent/scandirat64.c: New file.
35067         * sysdeps/wordsize-64/scandirat.c: New file.
35068         * sysdeps/wordsize-64/scandirat64.c: New file.
35069         * dirent/opendir.c: Define opendirat.
35070         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35071         using scandirat.
35072         * dirent/scandir64.c: Adjust for scandir.c change.
35073         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35074         __scandirat64, and __scandir_cancel_handler.
35075         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35076         additional parameter and use openat instead of open (outside of ld.so).
35077         Add new __opendir as wrapper around __opendirat.
35078         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35079         here without requiring old scandirat implementation.
35081 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35083         * dirent/scandir.c (cancel_handler): Renamed to
35084         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35085         defined.  Adjust users.
35086         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35087         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35089 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35091         * string/test-string.h (IMPL): Use __STRING to expand name and then
35092         stringify it.
35094         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35095         of cleanups.
35097 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35099         * string/Makefile: Update.
35100         (strop-tests): Append strncat.
35101         * string/test-wcscmp.c: New file.
35102         New comprehensive test for wcscmp.
35103         * string/test-strcmp.c: Update.
35104         (WIDE): New define.
35106 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35108         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35109         line.
35111 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35114         encoding to ACE if AI_IDN.
35116 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35118         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35119         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35121 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35123         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35124         Fix overflow bug in strncat.
35125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35127         * string/test-strncat.c: Update.
35128         Add new tests for checking overflow bugs.
35130 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35133         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35134         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35135         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35136         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35137         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35138         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35139         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35140         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35142         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35143         (USE_AS_STRCAT): Define.
35144         Add strcat and strncat support.
35145         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35147 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35149         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35150         __n bigger than INT_MAX+1.
35151         (__strncmp_g): Likewise.
35153 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35155         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35156         * libio/stido.h: Likewise.
35158         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35159         (AF_NFC): Define.
35160         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35161         (AF_NFC): Define.
35163         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35164         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35165         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35166         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35167         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35169         [BZ #13021]
35170         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35171         installed.
35173         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35174         typo.
35175         (_dl_x86_64_save_sse): Likewise.
35177 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35179         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35180         OSXSAVE.
35181         (_dl_x86_64_save_sse): Likewise.
35183         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35185         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35187 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35189         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35190         change.
35191         (_dl_x86_64_save_sse): Use correct AVX check.
35193 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35195         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35196         bug in strncpy/strncat.
35197         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35199 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35201         * string/tester.c (test_strcat): Add tests for different alignments
35202         of source and destination.
35203         (test_strncat): Likewise.
35205 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35207         [BZ #12852]
35208         * posix/glob.c (glob): Check passed in values before using them in
35209         expressions to avoid some overflows.
35210         (glob_in_dir): Likewise.
35212         [BZ #13007]
35213         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35214         check for AVX enablement so that we don't crash with old kernels and
35215         new hardware.
35216         * elf/tst-audit4.c: Add same checks here.
35217         * elf/tst-audit6.c: Likewise.
35219         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35221 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35223         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35225 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35227         * po/cs.po: Update from translation team.
35228         * po/bg.po: Likewise.
35230 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35232         * misc/sys/cdefs.h: Add support for const attribute.
35233         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35234         to gnu_dev_{major,minor,makedev} functions.
35236 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35238         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35240 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35242         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35243         strlen results.
35245 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35247         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35248         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35249         register in order to avoid conflicts with the soft frame pointer
35250         being held in r11 when necessary.
35251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35252         (INTERNAL_VSYSCALL_NCS): Likewise.
35254 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35256         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35257         * elf/dl-fini.c (_dl_fini): Adjust caller.
35258         * elf/dl-close.c (_dl_close_worker): Likewise.
35259         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35261 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35263         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35264         "aux_cache->nlibs < 0".
35266         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35267         in the reload-count case.
35269 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35272         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35273         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35274         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35275         * sysdeps/x86_64/multiarch/strcat.S: New file.
35276         * sysdeps/x86_64/multiarch/strncat.S: New file.
35277         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35278         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35279         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35280         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35281         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35282         (USE_AS_STRCAT): Define.
35283         Add strcat and strncat support.
35284         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35285         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35286         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35287         * string/strncat.c: Update.
35288         (USE_AS_STRNCAT): Define.
35289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35290         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35291         and i7.
35292         * sysdeps/x86_64/multiarch/init-arch.h
35293         (bit_Prefer_PMINUB_for_stringop): New.
35294         (index_Prefer_PMINUB_for_stringop): Likewise.
35295         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35296         bit_Prefer_PMINUB_for_stringop.
35298 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35300         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35301         buffer64.
35302         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35303         of casting of buffer.
35304         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35305         buffer32 and buffer64.
35306         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35307         writes instead of casting of buffer.
35308         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35309         buffer32.
35310         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35311         casting of buffer.
35313 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35315         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35317 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35319         * nscd/nscd.c (termination_handler): Don't do anything for a database
35320         if it has not yet been initialized.
35322 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35324         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35326 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35328         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35330 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35332         * po/nl.po: Update from translation team.
35333         * po/sv.po: Likewise.
35335 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35337         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35338         now disallowed by GCC.
35340         * configure.in (use-default-link): Default to yes if a test -shared
35341         link meets our qualifications.
35342         * configure: Regenerated.
35344         * config.make.in (output-format): New variable.
35345         * configure.in: Check for ld --print-output-format support.
35346         * configure: Regenerated.
35347         * Makerules ($(common-objpfx)format.lds)
35348         [$(output-format) != unknown]: Just use $(output-format),
35349         instead of the linker-script munging.
35351 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35353         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35354         of $(common-objpfx)shlib.lds.
35355         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35357         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35358         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35360         * configure.in (-z relro check): Adjust test code to add a large
35361         writable data section after it.
35362         * configure: Regenerated.
35364 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35366         * configure.in (-z relro check): Fix test code to make the variable
35367         truly const.
35368         * configure: Regenerated.
35370 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35372         * nscd/nscd.h (struct traced_file): Define.
35373         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35374         elements.  Add traced_files.
35375         (inotify_fd): Declare.
35376         (register_traced_file): Declare.
35377         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35378         (inotify_fd): Export.
35379         (resolv_conf_descr): Remove.
35380         (nscd_init): Move inotify descriptor creation to main.
35381         Don't register files for notification here.
35382         (register_traced_file): New function.
35383         (invalidate_cache): Don't use reset_res to determine whether to call
35384         res_init, go through the list of registered files.
35385         (main_loop_poll): The inotify descriptors are now stored in the
35386         structures for the traced files.
35387         (main_loop_epoll): Likewise
35388         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35389         to __nss_disable_nscd.
35390         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35391         for a database anymore.  Check the records for all the registered
35392         files instead.
35393         * nss/Makefile (libnss_files-routines): Add files-init.
35394         (libnss_db-routines): Add db-init.
35395         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35396         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35397         * nss/nss_db/db-init.c: New file.
35398         * nss/nss_files/files-init.c: New file.
35399         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35400         __nss_lookup_function.
35401         (__nss_lookup_function): Call nss_load_library.
35402         (nss_load_all_libraries): New function.
35403         (__nss_disable_nscd): Take parameter with callback function for files
35404         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35405         used for the cached services.
35406         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35407         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35408         options for features to all the files in nscd.
35410         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35412 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35414         * csu/elf-init.c (__libc_csu_init): Comment typo.
35416 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35418         * po/pl.po: Update from translation team.
35419         * po/ja.po: Likewise.
35420         * po/ru.po: Likewise.
35421         * po/ko.po: Likewise.
35422         * po/fr.po: Likewise.
35424 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35426         * configure.in (.ctors/.dtors header and trailer check):
35427         Use an empirical test on a built program.
35428         * configure: Regenerated.
35430         * configure.in (-z relro check): Use an empirical test on a built DSO.
35431         Detect, but do not require, on ia64.
35432         * configure: Regenerated.
35434         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35435         Update tests that use readelf to use $READELF instead.
35436         * configure: Regenerated.
35438 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35440         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35441         if the result is not used.
35443 2011-07-05  Andreas Jaeger  <aj@suse.de>
35445         [BZ#9696]
35446         * stdlib/tst-strtod.c: Add testcase.
35448 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35450         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35451         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35452         The latter has a higher limit.  Take additional parameter to pass to
35453         the new function.
35454         (__pathconf): Pass file to __statfs_link_max.
35455         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35456         __statfs_link_max.
35457         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35458         __statfs_link_max.
35460         [BZ #12868]
35461         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35462         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35463         Handle Lustre.
35464         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35465         (__statfs_filesize_max): Likewise.
35466         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35468 2011-07-05  Andreas Jaeger  <aj@suse.de>
35470         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35472 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35474         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35475         `status' variable.
35476         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35477         Likewise.
35479 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35481         * Makefile (strop-tests): Add strncat.
35482         * string/test-strncat.c: New file.
35484 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35486         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35488 2011-06-21  Andreas Jaeger  <aj@suse.de>
35490         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35491         Copy rule from iconvdata/Makefile.
35493 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35495         [BZ #12922]
35496         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35497         but no long options are defined, just return 'W'.
35499 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35501         [BZ #9696]
35502         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35504 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35506         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35507         netgroups to read.
35508         (innetgr): Likewise.
35510 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35512         * config.make.in (install_root): Default to $(DESTDIR).
35514 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35516         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35518 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35520         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35522         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35523         containing directory rather than embedding absolute directory names.
35525         * scripts/check-local-headers.sh: Rewritten using awk.
35526         Match by word, not by line.  Print error messages for matches.
35527         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35529         * Makerules [shlib-lds-flags empty]:
35530         ($(common-objpfx)libc_pic.opts): New target.
35531         ($(common-objpfx)libc_pic.os.clean): New target.
35532         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35534         * config.make.in (OBJCOPY): New variable.
35535         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35536         * configure: Regenerated.
35538         * config.make.in (use-default-link): New variable.
35539         * configure.in (use_default_link): Grok --with-default-link to set it.
35540         * configure: Regenerated.
35541         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35542         (shlib-lds, shlib-lds-flags): Define to empty.
35544         * Makerules (shlib-lds): New variable.
35545         (shlib-lds-flags): New variable.
35546         (build-shlib, build-moduile, build-module-asneeded): Use it.
35547         ($(common-objpfx)libc.so): Use $(shlib-lds).
35548         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35549         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35551         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35552         DT_FLAGS/DT_FLAGS_1 with zero flags.
35554         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35555         linker script munging.
35557 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35559         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35560         as 128-bit value.
35561         * crypt/sha512.c (sha512_process_block): Perform total addition using
35562         128-bit if possible.
35563         (__sha512_finish_ctx): Likewise.
35564         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35565         as 64-bit value.
35566         * crypt/sha256.c (SWAP64): Define.
35567         (sha256_process_block): Perform total addition using 64-bit if
35568         possible.
35569         (__sha256_finish_ctx): Likewise.
35571 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35573         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35574         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35575         * nscd/hstcache.c (cache_addhst): Likewise.
35576         * nscd/grpcache.c (cache_addgr): Likewise.
35577         * nscd/aicache.c (addhstaiX): Likewise
35578         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35580 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35582         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35583         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35584         * nscd/hstcache.c (cache_addhst): Likewise.
35585         * nscd/grpcache.c (cache_addgr): Likewise.
35586         * nscd/aicache.c (addhstaiX): Likewise
35588 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35590         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35591         domain only when needed.
35593 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35596         is always restored.
35598 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35600         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35601         are re-adding the entry.
35602         * nscd/servicescache.c (cache_addserv): Likewise.
35604 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35606         * sysdeps/generic/dl-irel.h: fix protection against multiple
35607         inclusions.
35608         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35610 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35612         [BZ #12935]
35613         * malloc/memusage.sh: Fix quoting in message.
35614         * debug/xtrace.sh: Likewise.
35616         * configure.in: Remove support for --experimental-malloc option, make
35617         it the default.
35618         * config.make.in: Likewise.
35619         * malloc/Makefile: Likewise.
35621 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35623         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35624         two-byte characters.
35626 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35628         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35629         AC_CACHE_CHECK invocation.
35630         * configure: Regenerated.
35632         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35634 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35636         [BZ #12350]
35637         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35638         bit from old_res_options.
35640         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35642         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35643         value type for setfct.
35645 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35647         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35648         __gettimeofday instead of gettimeofday.
35650 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35652         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35654 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35656         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35658         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35659         info.
35661 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35663         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35664         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35665         strcpy-sse2-unaligned strncpy-sse2-unaligned
35666         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35667         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35668         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35669         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35670         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35671         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35672         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35673         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35674         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35675         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35676         (STRCPY): Support SSE2 and SSSE3 versions.
35678 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35680         [BZ #12874]
35681         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35682         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35683         kernels which artificially limit size of requests.
35685 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35687         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35688         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35689         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35690         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35691         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35692         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35693         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35694         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35695         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35696         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35697         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35698         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35699         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35700         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35701         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35703         Enable unaligned load optimization for Intel Core i3, i5 and i7
35704         processors.
35705         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35706         Define.
35707         (index_Fast_Unaligned_Load): Define.
35708         (HAS_FAST_UNALIGNED_LOAD): Define.
35710 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35712         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35714 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35716         [BZ #12907]
35717         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35718         until it is clear that the information is realy needed.
35719         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35721 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35725 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35727         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35728         /sys/devices/system/cpu/online if it is usable.
35730         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35731         reading the information from the /proc filesystem to once a second.
35733 2011-06-21  Andreas Jaeger  <aj@suse.de>
35735         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35736         NULL after inclusion of kernel headers.
35738 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35740         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35741         calls to internal_setent.
35743         [BZ #12885]
35744         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35745         addresses using gethostbyname4_r ignore IPv4 addresses.
35747         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35748         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35750         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35752 2011-06-20  David S. Miller  <davem@davemloft.net>
35754         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35755         inclusions.
35756         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35758         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35759         (elf_irel): Use it.
35760         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35761         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35762         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35763         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35764         * sysdeps/x86_64/dl-irel.h: Likewise.
35766         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35767         * elf/dl-sym.c: Likewise.
35769 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35771         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35772         need to dereference resplen2.
35774 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35776         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35778 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35780         * Makeconfig: Define vardbdir and inst_vardbdir.
35781         * nss/Makefile: Add rules to install db-Makefile.
35783         * nss/nss_db/db-XXX.c: Cleanup.
35785         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35786         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35787         GLIBC_PRIVATE.
35788         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35789         * nss/makedb.c: Implement -g option to specify that value strings
35790         are generated and should not be added to table iterated over for
35791         get*ent calls.
35792         * nss/nss_db/db-initgroups.c: New file.
35794         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35795         interface.
35797         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35798         (internal_getgrouplist): Adjust to name change.
35799         Update use_initgroups_entry if this is not the first call.
35800         * nss/databases.def: Add initgroups entry.
35802         * nss/makedb.c (compute_tables): Check result of multiple hash table
35803         sizes to minimize maximum chain length.
35805 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35807         * Versions.def: Add entry for libnss_db.
35808         * shlib-versions: Likewise.
35809         * nss/Makefile: Add rules to build libnss_db.
35810         * nss/Versions: Add libnss_db information.  Organize libnss_files
35811         entries better.
35812         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35813         makedb progra.  Some minor improvements to generate smaller files.
35814         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35815         here from...
35816         * nss/makedb.c: ...here.
35817         Improve database format to be smaller and require less memory at
35818         runtime.
35819         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35820         db anymore.
35821         * nss/nss_db/db-netgrp.c: Likewise.
35822         * nss/nss_db/db-open.c: Likewise.
35823         * nss/nss_files/flies-XXX.x: Adjust comments.
35824         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35825         * nss/nss_files/files-grp.c: Likewise.
35826         * nss/nss_files/files-hosts.c: Likewise.
35827         * nss/nss_files/files-network.c: Likewise.
35828         * nss/nss_files/files-proto.c: Likewise.
35829         * nss/nss_files/files-pwd.c: Likewise.
35830         * nss/nss_files/files-rpc.c: Likewise.
35831         * nss/nss_files/files-service.c: Likewise.
35832         * nss/nss_files/files-sgrp.c: Likewise.
35833         * nss/nss_files/files-spwd.c: Likewise.
35834         * nss/nss_db/db-alias.c: Removed.
35835         * nss/nss_db/dummy-db.h: Removed.
35837 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35839         * nss/makedb.c: Rewritten to not use database library.
35840         * nss/Makefile: Update to build new makedb program.
35842 2011-06-14  Andreas Jaeger  <aj@suse.de>
35844         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35845         memset declaration.
35847 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35850         tmpbuf.
35852 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35854         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35855         * elf/Makefile ($(objpfx)ld.so): Likewise.
35857         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35858         Don't list ld.so twice in dependencies.
35860         * posix/bug-regex31.c: Include <stdlib.h>.
35862         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35864         * nis/nss_compat/compat-spwd.c
35865         (getspent_next_nss_netgr): Remove unused variable.
35866         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35868         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35869         nonmembers" output to use the right array.
35871         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35873         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35875         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35876         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35877         * catgets/gencat.c (read_input_file): Likewise.
35878         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35880         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35881         variable definition inside #if's controlling its use.
35883         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35885         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35887         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35889         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35890         unreachable code.
35892         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35894         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35895         * configure: Regenerated.
35897         * Makerules: Revert last change.
35898         * elf/Makefile: Likewise.
35900 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35902         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35903         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35904         (reloc-link): Likewise.
35906 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35908         * elf/Makefile: Add rules to build pldd.
35909         * elf/pldd.c: New file.
35910         * elf/pldd-xx.c: New file.
35912 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35914         * version.h: Update for 2.15 development version.
35916 2011-06-07  David S. Miller  <davem@davemloft.net>
35918         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35919         ifuncs.
35920         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35921         elf_machine_lazy_rel): Likewise.
35922         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35923         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35924         elf_machine_lazy_rel): Likewise.
35925         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35926         dl_hwcap via passed in argument.
35927         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35928         Likewise.
35930 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35932         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35934 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35936         [BZ #12849]
35937         * manual/fdl-1.1.texi: New file, verbatim from:
35938         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35939         * manual/lgpl-2.1.texi: New file, verbatim from:
35940         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35941         * manual/Makefile (licenses): New variable, list those new file names.
35942         (texis): Use it.
35943         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35945         * manual/fdl.texi: File removed.
35946         * manual/lesser.texi: File removed.
35947         * manual/libc.texinfo (Copying, Documentation License):
35948         Use new @include file names, put @appendix directive before @include.
35950 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35952         [BZ #12841]
35953         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35954         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35955         (mq_open): Add __NTH.
35957 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35960         Assume Intel Core i3/i5/i7 processor if AVX is available.
35962 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35964         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35965         typo.
35967 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35969         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35970         memory.  Use alloca_account.  Fix memory leak when retrying.
35972 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35974         * version.h (RELEASE): Bump for 2.14 release.
35975         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35977         * config.make.in (RANLIB): Remove entry.
35979 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35981         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35982         (libc.pot): Work around missing support for .ksh extension in xgettext.
35984         [BZ #12684]
35985         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35986         if both request failed.
35987         (send_dg): In case of server errors clear resplen or *resplen2.
35989         [BZ #12454]
35990         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35991         when there are multiple maps.
35992         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35993         (_dl_fini): Remove test here.
35995         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35997 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35999         [BZ #12350]
36000         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36001         bit from old_res_options.
36002         (gaih_inet): Likewise.
36004         [BZ #11099]
36005         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36006         as signed.
36008         * resolv/res_init.c (res_setoptions): Make the code more compact.
36010         [BZ #11558]
36011         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36012         set RES_USEVC.
36014         [BZ #11634]
36015         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36017         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36019         [BZ #11781]
36020         * malloc/malloc.h: Declare malloc hook variables as volatile.
36022         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36023         in last patch.
36025         [BZ #11799]
36026         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36027         raise in the comment.
36028         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36029         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36030         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36032 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36034         [BZ #12811]
36035         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36036         grow the buffers more if it already has to be sufficient.
36037         (build_wcs_upper_buffer): Likewise.
36038         * posix/regexec.c (check_matching): Likewise.
36039         (clean_state_log_if_needed): Likewise.
36040         (extend_buffers): Don't enlarge buffers beyond size of the input
36041         buffer.
36042         Patches mostly by Emil Wojak <emil@wojak.eu>.
36043         * posix/bug-regex32.c: New file.
36044         * posix/Makefile (tests): Add bug-regex32.
36046         * locale/findlocale.c (_nl_find_locale): Return right away if
36047         _nl_explode_name failed.
36048         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36050         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36052         * debug/xtrace.sh: Unify messages.
36053         * malloc/memusage.sh: Likewise.
36055         [BZ #12813]
36056         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36057         time symbol from vDSO.  Substitute with vsyscall if not available.
36058         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36059         __vdso_time.
36061         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36062         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36063         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36064         Add sendmmsg and internal_sendmmsg.
36065         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36066         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36067         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36069         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36070         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36071         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36073 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36075         [BZ #12813]
36076         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36077         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36078         available.
36079         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36080         __vdso_getcpu.
36082         [BZ #12814]
36083         * iconvdata/Makefile (tests): Add bug-iconv9.
36084         * iconvdata/bug-iconv9.c: New file.
36086 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36088         [BZ #12814]
36089         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36091 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36093         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36094         (struct user_regs_struct): Change intcs field back to cs.
36096 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36098         * po/ja.po: Update from translation team.
36100 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36102         [BZ #12795]
36103         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36104         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36106 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36108         * stdlib/longlong.h: Update from GCC.
36110 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36112         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36113         parameter name.
36114         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36115         Add parameter name.
36116         (__sysconf): Pass it down.
36118 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36120         [BZ #12671]
36121         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36122         some situations.
36123         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36124         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36125         add in in __libc_use_alloca calls.  Adjust callers.
36126         (glob): Use malloc in some situations.
36128         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36129         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36130         pltexit.
36132 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36134         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36135         and CLOCK_BOOTTIME_ALARM.
36137         [BZ #12782]
36138         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36139         is returned.
36141         * string/_strerror.c (__strerror_r): Print negative errors as signed
36142         numbers.
36144         [BZ #12777]
36145         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36146         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36147         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36149         * configure.in: Fix typo in redirection and correct removal of test
36150         files in two cases.
36152         [BZ #12788]
36153         * locale/setlocale.c (new_composite_name): Fix test to check for
36154         identical name of all categories.
36156         [BZ #12792]
36157         * libio/filedoalloc.c (local_isatty): New function.
36158         (_IO_file_doallocate): Use local_isatty.
36159         * stdio-common/perror.c (perror): In case a new stream is used
36160         forward the stream error.
36161         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36162         error flag.
36164 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36166         [BZ #11869]
36167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36168         alloca.
36169         * include/alloca.h (extend_alloca_account): Define.
36171         [BZ #11857]
36172         * posix/regex.h: Fix comments with documentation of user-accessible
36173         fields after compilation and describe correct free'ing of pattern
36174         after re_compile_pattern.
36175         Patch by Reuben Thomas <rrt@sc3d.org>.
36177 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36179         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36180         and -mno-altivec to prevent the compiler from using Altivec and/or
36181         VSX instructions when the corresponding registers are not available.
36183 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36185         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36187 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36189         * libio/freopen.c (freopen): Use __dup2, not dup2.
36190         * libio/freopen64.c (freopen64): Likewise.
36192 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36194         [BZ #12775]
36195         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36196         * math/Makefile (tests): Add test-powl.
36197         (CFLAGS-test-powl.c): Define.
36198         * math/test-powl.c: New file.
36200 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36202         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36204 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36206         [BZ #11837]
36207         * iconvdata/gb18030.c: Update to GB18020-2005.
36209 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36211         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36212         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36213         Patch by Aharon Robbins <arnold@skeeve.com>.
36215         [BZ #11892]
36216         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36217         on the stack.
36219         [BZ #11895]
36220         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36221         through underflows.
36223         [BZ #12766]
36224         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36225         point to strings before performing equality test for error_one_per_line
36226         mode.
36228         [BZ #11697]
36229         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36231         [BZ #11820]
36232         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36233         (struct user_fpregs_struct): Avoid __uint*_t types.
36235         [BZ #6420]
36236         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36237         symbol info.  Use it instead of calling _dl_addr locally.
36238         (lock_and_info): New function.
36239         (tr_freehook): Call lock_and_info and pass symbol info as additional
36240         parameter to tr_where.
36241         (tr_mallochook): Likewise.
36242         (tr_reallochook): Likewise.
36243         (tr_memalignhook): Likewise.
36245         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36246         used and couldn't be at all thread-safe.
36248 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36250         * libio/freopen.c (freopen): Don't close old file descriptor
36251         before the new one is opened.  Instead dup the new file descriptor
36252         to the old one after the new stream is created.
36253         * libio/freopen64.c (freopen64): Likewise.
36254         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36255         * libio/fileops.c (_IO_new_file_close_it): Handle new
36256         _IO_FLAGS2_NOCLOSE flag.
36257         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36258         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36259         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36260         _IO_FLAGS2_NOCLOSE flag.
36261         * include/unistd.h: Add hidden_proto for dup3.
36262         Define __have_dup3.
36263         * io/dup3.c: Define hidden symbol.
36264         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36266         [BZ #7101]
36267         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36268         when an incomplete long option is used.
36269         * posix/tst-getopt_long1.c: New file.
36270         * posix/Makefile (tests): Add tst-getopt_long1.
36272         [BZ #10138]
36273         * scripts/config.guess: Update from autoconf-2.68.
36274         * scripts/config.sub: Likewise.
36276         [BZ #10157]
36277         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36278         tests into ...
36279         (has_cpuclock): ...this.  New function.
36280         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36281         macro here based on has_cpuclock code.
36283         [BZ #10149]
36284         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36285         First byte (not low byte) is now always NUL.
36286         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36288         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36289         Use non-cancelable interfaces.
36291         [BZ #9809]
36292         * locale/iso-639.def: Add entry for Sorani.
36294         [BZ #11901]
36295         * include/stdlib.h: Move include protection to the right place.
36296         Define abort_msg_s.  Declare __abort_msg with it.
36297         * stdlib/abort.c (__abort_msg): Adjust type.
36298         * assert/assert.c (__assert_fail_base): New function.  Majority
36299         of code from __assert_fail.  Allocate memory for __abort_msg with
36300         mmap.
36301         (__assert_fail): Now call __assert_fail_base.
36302         * assert/assert-perr.c: Remove bulk of implementation.  Use
36303         __assert_fail_base.
36304         * include/assert.hL Declare __assert_fail_base.
36305         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36306         mmap.
36307         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36309 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36311         [BZ #11952]
36312         [BZ #12453]
36313         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36314         until all modules are registered in the DTV.
36315         * elf/Makefile: Add rules to build and run tst-tls19.
36316         * elf/tst-tls19.c: New file.
36317         * elf/tst-tls19mod1.c: New file.
36318         * elf/tst-tls19mod2.c: New file.
36319         * elf/tst-tls19mod3.c: New file.
36320         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36322         [BZ #12083]
36323         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36324         correctly.
36326         [BZ #12601]
36327         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36328         two-byte sequence errors.
36329         * iconvdata/Makefile (tests): Add bug-iconv8.
36330         * iconvdata/bug-iconv8.c: New file.
36332         [BZ #12626]
36333         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36334         buf2 definition.
36336         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36338         [BZ #12432]
36339         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36340         (dummy_getcfa): New function.
36341         (init): Get _Unwind_GetCFA address, use dummy if not found.
36342         (backtrace_helper): In recursion check, also check whether CFA changes.
36343         (__backtrace): Completely initialize arg.
36345         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36346         storing incomplete byte sequence in state object.  Avoid testing for
36347         guaranteed too small input if we know there is enough data available.
36349 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36351         * Makeconfig (+link-pie): Indent.
36352         * Rules (binaries-pie): Define if $(have-fpie) and
36353         $(build-shared).
36354         (binaries-shared): Also filter out $(binaries-pie).
36355         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36356         * nscd/Makefile (others-pie): Add nscd.
36357         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36358         ($(objpfx)nscd): Remove command override.
36359         * login/Makefile (others-pie): Add pt_chown.
36360         ($(objpfx)pt_chown): Remove command override.
36361         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36362         remove command overrides.
36364 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36366         * libio/tst_putwc.c: Fix error messages.
36368         [BZ #12724]
36369         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36370         currently writing and seek to current position when not.
36371         * libio/Makefile (tests): Add bug-fclose1.
36372         * libio/bug-fclose1.c: New file.
36374 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36376         [BZ #12511]
36377         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36378         don't set DF_1_NODELETE here.
36379         (do_lookup_x): When entering new entry test for copy relocation
36380         and if necessary set DF_1_NODELETE flag.
36381         * elf/tst-unique4.cc: New file.
36382         * elf/tst-unique4.h: New file.
36383         * elf/tst-unique4lib.cc: New file.
36384         * elf/Makefile: Add rules to build and run tst-unique4.
36385         Patch by Piotr Bury <pbury@goahead.com>.
36387 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36389         [BZ #12052]
36390         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36392         [BZ #12625]
36393         * misc/mntent_r.c (addmntent): Flush the stream after the output
36395         [BZ #12393]
36396         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36397         (is_trusted_path_normalize): Skip initial colon.  Append slash
36398         to empty buffer.  Duplicate is_trusted_path code but allow
36399         constructed patch to be prefix.
36400         (is_dst): Allow $ORIGIN followed by /.
36401         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36402         Correct testing of result of is_trusted_path_normalize
36403         (decompose_rpath): Fix warning.
36405 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36407         [BZ #11257]
36408         * grp/initgroups.c (internal_getgrouplist): When we found the service
36409         list through the initgroups entry in nsswitch.conf do not always
36410         continue on a successful lookup.  Don't always use the
36411         __nss_group_database value if it is set.
36412         * nss/nsswitch.conf (initgroups): Change action for successful db
36413         lookup to continue for compatibility.
36415 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36417         [BZ #11532]
36418         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36419         and CP774 modules.
36420         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36421         and CP774 modules.
36422         * iconvdata/tst-tables.sh: Likewise.
36423         * iconvdata/cp770.c: New file.
36424         * iconvdata/cp771.c: New file.
36425         * iconvdata/cp772.c: New file.
36426         * iconvdata/cp773.c: New file.
36427         * iconvdata/cp774.c: New file.
36428         * iconvdata/testdata/CP770: New file.
36429         * iconvdata/testdata/CP770..UTF8: New file.
36430         * iconvdata/testdata/CP771: New file.
36431         * iconvdata/testdata/CP771..UTF8: New file.
36432         * iconvdata/testdata/CP772: New file.
36433         * iconvdata/testdata/CP772..UTF8: New file.
36434         * iconvdata/testdata/CP773: New file.
36435         * iconvdata/testdata/CP773..UTF8: New file.
36436         * iconvdata/testdata/CP774: New file.
36437         * iconvdata/testdata/CP774..UTF8: New file.
36439         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36440         END CHARMAP line.
36441         * iconvdata/gen-8bit-gap.sh: Likewise.
36442         * iconvdata/gen-8bit.sh: Likewise.
36444         * locale/iso-639.def: Add ary entry.
36446         [BZ #11258]
36447         * locale/C-translit.h.in: Add U20A1 transliteration.
36449         [BZ #12178]
36450         * locale/iso-639.def: Add wae entry.
36451         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36453         [BZ #12545]
36454         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36455         for n.
36457         [BZ #12711]
36458         * locale/C-translit.h.in: Add entry for U20B9.
36459         Patch by pravin.d.s@gmail.com.
36461 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36463         [BZ #12713]
36464         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36465         ENAMETOOLONG use generic getcwd.
36466         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36467         in rtld.  Use *stat64.
36468         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36469         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36470         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36471         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36472         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36473         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36474         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36475         __fstatat64 macros.
36476         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36477         * dirent/rewinddir.c: Add libc_hidden_def.
36478         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36479         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36481         * include/dirent.h (__alloc_dir): Add flags parameter.
36482         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36483         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36484         __alloc_dir.
36485         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36486         from fdopendir if O_CLOEXEC is already set.
36488 2011-03-15  Alan Modra  <amodra@gmail.com>
36490         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36491         l_tls_firstbyte_offset non-zero.  Save padding offset in
36492         l_tls_firstbyte_offset for later use.
36493         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36494         freeing static tls block.
36496 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36498         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36499         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36500         being defined by the kernel headers.
36502 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36504         [BZ #12734]
36505         * resolv/resolv.h: Define RES_NOTLDQUERY.
36506         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36507         no-tld-query and set RES_NOTLDQUERY.
36508         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36509         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36510         modern BIND to search name as TLD unless forbidden.
36512 2011-05-07  Petr Baudis  <pasky@suse.cz>
36513             Ulrich Drepper  <drepper@gmail.com>
36515         [BZ #12393]
36516         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36517         (is_trusted_path): ...to here.
36518         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36519         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36520         using is_trusted_path_normalize() in setuid scripts.
36522 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36524         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36525         __BEGIN/__END_DECLS.
36527 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36529         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36530         NSS_STATUS_NOTFOUND if no record was found.
36532 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36534         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36535         (headers-not-in-tirpc): Remove rpc/netdb.h
36536         * resolv/netdb.h: Revert last change.
36538 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36540         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36541         circular dependency between libgcc.a and libc.a.
36543 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36545         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36546         * nis/Makefile: Don't install rpcsvc/*.
36547         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36548         instead of <rpc/types.h>.
36549         (MAXHOSTNAMELEN): Define.
36551 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36553         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36555 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36557         [BZ #12714]
36558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36559         gethostbyname4_r when IPv6 results are possible.
36561 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36563         [BZ #12723]
36564         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36565         _PC_PIPE_BUF handling.
36567 2011-04-30  Bruno Haible  <bruno@clisp.org>
36569         [BZ #12717]
36570         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36571         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36572         to 'int'.
36573         * inet/getnameinfo.c (getnameinfo): Likewise.
36575 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36577         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36578         to groups setting in database lookup.
36579         * nss/nsswitch.conf: Add initgroups entry.
36581 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36583         [BZ #12685]
36584         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36585         mode string.
36586         Patch by Eric Blake <eblake@redhat.com>.
36588 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36590         * sunrpc/Makefile (need-export-routines): Add svc_run.
36591         (routines): Remove svc_run.
36592         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36593         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36594         * sunrpc/svc_run.c (svc_run): Likewise.
36595         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36597 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36599         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36600         problem in reallocation in last patch.
36602 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36604         * sunrpc/Makefile: Move inclusion of Rules.
36606 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36608         * nss/nss_files/files-initgroups.c: New file.
36609         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36610         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36611         _nss_files_initgroups_dyn.
36613 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36615         * elf/elf.h (R_ARM_IRELATIVE): Define.
36617 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36619         * po/ru.po: Update from translation team.
36621 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36623         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36624         dependencies.
36626 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36628         [BZ #12653]
36629         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36630         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36631         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36632         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36633         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36635 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36637         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36638         differing bytes.
36639         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36640         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36641         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36643 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36645         [BZ #12420]
36646         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36647         storing it.
36648         * stdlib/bug-getcontext.c: New file.
36649         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36651 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36653         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36654         instructions into .machine "z9-109".
36655         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36656         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36658 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36660         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36661         between environment variables and auxiliary vector.
36663 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36665         * Makefile: Add rules to build linkobj/libc.so.
36666         * include/libc-symbols.h: Define libc_hidden_nolink.
36667         * include/rpc/auth.h: Mark functions which are to be hidden.
36668         * include/rpc/auth_des.h: Likewise.
36669         * include/rpc/auth_unix.h: Likewise.
36670         * include/rpc/clnt.h: Likewise.
36671         * include/rpc/des_crypt.h: Likewise.
36672         * include/rpc/key_prot.h: Likewise.
36673         * include/rpc/pmap_clnt.h: Likewise.
36674         * include/rpc/pmap_prot.h: Likewise.
36675         * include/rpc/pmap_rmt.h: Likewise.
36676         * include/rpc/rpc_msg.h: Likewise.
36677         * include/rpc/svc.h: Likewise.
36678         * include/rpc/svc_auth.h: Likewise.
36679         * include/rpc/xdr.h: Likewise.
36680         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36681         * nss/Makefile: Likewise.
36682         * sunrpc/Makefile: Don't install headers.  Build library with normal
36683         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36684         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36685         for the compat linking library.  Remove use of INTDEF/INTUSE.
36686         * sunrpc/auth_none.c: Likewise.
36687         * sunrpc/auth_unix.c: Likewise.
36688         * sunrpc/authdes_prot.c: Likewise.
36689         * sunrpc/authuxprot.c: Likewise.
36690         * sunrpc/clnt_gen.c: Likewise.
36691         * sunrpc/clnt_perr.c: Likewise.
36692         * sunrpc/clnt_raw.c: Likewise.
36693         * sunrpc/clnt_simp.c: Likewise.
36694         * sunrpc/clnt_tcp.c: Likewise.
36695         * sunrpc/clnt_udp.c: Likewise.
36696         * sunrpc/clnt_unix.c: Likewise.
36697         * sunrpc/des_crypt.c: Likewise.
36698         * sunrpc/des_soft.c: Likewise.
36699         * sunrpc/get_myaddr.c: Likewise.
36700         * sunrpc/key_call.c: Likewise.
36701         * sunrpc/key_prot.c: Likewise.
36702         * sunrpc/netname.c: Likewise.
36703         * sunrpc/pm_getmaps.c: Likewise.
36704         * sunrpc/pm_getport.c: Likewise.
36705         * sunrpc/pmap_clnt.c: Likewise.
36706         * sunrpc/pmap_prot.c: Likewise.
36707         * sunrpc/pmap_prot2.c: Likewise.
36708         * sunrpc/pmap_rmt.c: Likewise.
36709         * sunrpc/publickey.c: Likewise.
36710         * sunrpc/rpc_cmsg.c: Likewise.
36711         * sunrpc/rpc_common.c: Likewise.
36712         * sunrpc/rpc_dtable.c: Likewise.
36713         * sunrpc/rpc_prot.c: Likewise.
36714         * sunrpc/rpc_thread.c: Likewise.
36715         * sunrpc/rtime.c: Likewise.
36716         * sunrpc/svc.c: Likewise.
36717         * sunrpc/svc_auth.c: Likewise.
36718         * sunrpc/svc_authux.c: Likewise.
36719         * sunrpc/svc_raw.c: Likewise.
36720         * sunrpc/svc_run.c: Likewise.
36721         * sunrpc/svc_simple.c: Likewise.
36722         * sunrpc/svc_tcp.c: Likewise.
36723         * sunrpc/svc_udp.c: Likewise.
36724         * sunrpc/svc_unix.c: Likewise.
36725         * sunrpc/svcauth_des.c: Likewise.
36726         * sunrpc/xcrypt.c: Likewise.
36727         * sunrpc/xdr.c: Likewise.
36728         * sunrpc/xdr_array.c: Likewise.
36729         * sunrpc/xdr_float.c: Likewise.
36730         * sunrpc/xdr_intXX_t.c: Likewise.
36731         * sunrpc/xdr_mem.c: Likewise.
36732         * sunrpc/xdr_rec.c: Likewise.
36733         * sunrpc/xdr_ref.c: Likewise.
36734         * sunrpc/xdr_sizeof.c: Likewise.
36735         * sunrpc/xdr_stdio.c: Likewise.
36737 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36739         [BZ #12650]
36740         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36741         * sysdeps/ia64/dl-tls.h: Likewise.
36742         * sysdeps/powerpc/dl-tls.h: Likewise.
36743         * sysdeps/s390/dl-tls.h: Likewise.
36744         * sysdeps/sh/dl-tls.h: Likewise.
36745         * sysdeps/sparc/dl-tls.h: Likewise.
36746         * sysdeps/x86_64/dl-tls.h: Likewise.
36747         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36749 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36751         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36752         rpath element also skip the following colon.
36753         (expand_dynamic_string_token): Add is_path parameter and pass
36754         down to DL_DST_REQUIRED and _dl_dst_substitute.
36755         (decompose_rpath): Call expand_dynamic_string_token with
36756         non-zero is_path.  Ignore empty rpaths.
36757         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36758         with zero is_path.
36760 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36763         Make cancelable.
36765 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36767         [BZ #12655]
36768         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36769         Patch by Filipe David Manana <fdmanana@apache.org>.
36771 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36773         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36774         Maintain aligned stack.
36775         (CHECK_RSP): Remove unused macro.
36777 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36779         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36780         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36782 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36784         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36786         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36788 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36790         [BZ #12518]
36791         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36792         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36793         * sysdeps/x86_64/memmove.c: New file.
36794         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36795         (memcpy): Renamed to ...
36796         (__new_memcpy): This.
36797         (memcpy): Provide GLIBC_2_14 memcpy.
36798         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36799         (memcpy): Provide GLIBC_2_2_5 memcpy.
36801 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36803         [BZ #12631]
36804         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36806 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36808         * misc/syncfs.c: New file.
36809         * misc/Makefile (routines): Add syncfs.
36810         * posix/unistd.h: Declare syncfs.
36811         * sysdeps/unix/syscalls.list: Add syncfs.
36813 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36815         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36816         open_by_handle_at.
36817         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36818         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36819         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36820         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36821         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36822         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36823         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36825 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36827         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36828         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36829         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36830         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36831         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36832         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36833         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36835         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36836         sync_file_range.c with -fexceptions.
36837         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36838         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36839         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36840         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36841         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36842         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36843         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36844         sync_file_range as cancellation point
36845         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36846         now a wrapper around __call_sync_file_range with cancellation handling.
36847         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36848         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36849         function name to __call_sync_file_range.
36850         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36851         Add call_sync_file_range.
36853 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36855         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36856         bits/timex.h.
36858 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36860         * iconv/iconv.h: Fix typo in comment.
36861         * io/fcntl.h: Likewise.
36862         * libio/stdio.h: Likewise.
36863         * posix/spawn.h: Likewise.
36864         * posix/unistd.h: Likewise.
36865         * stdlib/stdlib.h: Likewise.
36866         * time/time.h: Likewise.
36867         * wcsmbs/wchar.h: Likewise.
36869         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36870         open_by_handle): Add.
36871         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36872         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36873         Augment a few comments.
36874         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36875         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36876         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36877         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36878         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36879         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36880         open_by_handle.
36882         * io/fcntl.h (AT_EMPTY_PATH): Define.
36884 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36886         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36887         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36888         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36889         to...
36890         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36891         * Versions.def: Add GLIBC_2.14.
36892         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36893         Export.
36895 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36897         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36898         round counter.
36899         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36901 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36903         [BZ #12597]
36904         * string/test-strncmp.c (do_page_test): New function.
36905         (check2): Likewise.
36906         (test_main): Call check2.
36907         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36909 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36911         [BZ #12587]
36912         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36913         Handle cache information in CPU leaf 4.
36914         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36916 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36918         [BZ #12583]
36919         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36920         character representation.
36921         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36923 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36925         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36926         END(__isnan) to END(__isnanf) to match function entry point/label
36927         EALIGN(__isnanf,...).
36929 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36931         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36933 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36935         [BZ #12510]
36936         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36937         copy from the symbol referenced in the relocation to initialize the
36938         used variable.
36939         Patch by Piotr Bury <pbury@goahead.com>.
36940         * elf/Makefile: Add rules to build and tst-unique3.
36941         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36942         * elf/tst-unique3.cc: New file.
36943         * elf/tst-unique3.h: New file.
36944         * elf/tst-unique3lib.cc: New file.
36945         * elf/tst-unique3lib2.cc: New file.
36947         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36949 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36951         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36952         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36953         to _start.
36955 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36957         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36958         to-be-loaded object along a path to loader is ld.so.
36960 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36961             Ulrich Drepper  <drepper@gmail.com>
36963         * sysdeps/x86_64/memset.S: After aligning destination, code
36964         branches to different locations depending on the value of
36965         misalignment, when multiarch is enabled. Fix this.
36967 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36969         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36970         Set _x86_64_preferred_memory_instruction for AMD processsors.
36971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36972         Set bit_Prefer_SSE_for_memop for AMD processors.
36974 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36976         * libio/fmemopen.c (fmemopen): Optimize a bit.
36978 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36980         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36982 2011-03-03  Roland McGrath  <roland@redhat.com>
36984         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36986 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36988         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36989         __bzero_ultra1 instead of __memset_ultra1.
36991 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36992             Ulrich Drepper  <drepper@gmail.com>
36994         [BZ #12509]
36995         * include/link.h (struct link_map): Add l_orig_initfini.
36996         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36997         returning unsuccessfully.
36998         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36999         close of a file loaded at startup, restore the original l_initfini
37000         list.
37001         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37002         list, store the pointer.
37003         * elf/Makefile ($(objpfx)noload-mem): New rule.
37004         (noload-ENV): Define.
37005         (tests): Add $(objpfx)noload-mem.
37006         * elf/noload.c: Include <memcheck.h>.
37007         (main): Call mtrace.  Close all opened handles.
37009 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37011         [BZ #12454]
37012         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37013         dependencies are missing.
37015 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37017         Fix __if_freereq crash: Unlike the generic version which uses free,
37018         Hurd needs munmap.
37019         * sysdeps/mach/hurd/ifreq.h: New file.
37021 2011-01-27  Petr Baudis  <pasky@suse.cz>
37022             Ulrich Drepper  <drepper@gmail.com>
37024         [BZ 12445]#
37025         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37026         to extend_alloca().
37027         * stdio-common/bug23.c: New file.
37028         * stdio-common/Makefile (tests): Add bug23.
37030 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37031             Ulrich Drepper  <drepper@gmail.com>
37033         [BZ #12489]
37034         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37035         before performing relro protection.  At old place add assertion
37036         to make sure nothing changed.
37038 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37039             Glauber de Oliveira Costa  <glommer@gmail.com>
37041         * elf/elf.h: Add new ARM TLS relocs.
37043 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37046         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37047         cast from r3.
37048         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37049         'tests' variable.
37050         * sysdeps/wordsize-64/tst-writev.c: New file.
37052 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37054         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37055         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37056         insns in _dl_start to prevent a TOC reference before relocs are
37057         resolved.
37059 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37061         [BZ #12469]
37062         * Makeconfig: Remove RANLIB definition.
37063         * Makerules: Don't use RANLIB.
37064         * aclocal.m4: Remove ranlib test.
37065         * configure.in: No need to check for ranlib.
37066         * elf/rtld-Rules: Don't use RANLIB.
37068 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37070         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37071         protection macro.
37072         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37073         inclusion protection macro.
37075         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37076         SIGRTMIN and SIGRTMAX and print information in that case only when
37077         SIGRTMIN is defined.
37079 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37081         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37082         arginfo fn returning -1.
37084         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37085         and thousands string is zero terminated.
37087 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37089         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37090         sysdeps/unix/sysv/linux/bits/socket.h.
37092 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37094         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37095         (__CPU_COUNT): Remove old macros.
37096         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37097         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37098         (__CPU_ALLOC, __CPU_FREE): Add macros.
37099         (__sched_cpualloc, __sched_cpufree): Add declarations.
37101 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37103         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37104         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37105         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37106         (readdhstai): Return value of addhstaiX call.
37107         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37108         (addgrbyX): Return value returned by cache_addgr.
37109         (readdgrbyname): Return value returned by addgrbyX.
37110         (readdgrbygid): Likewise.
37111         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37112         (addpwbyX): Return value returned by cache_addpw.
37113         (readdpwbyname): Return value returned by addhstbyX.
37114         (readdpwbyuid): Likewise.
37115         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37116         (addservbyX): Return value returned by cache_addserv.
37117         (readdservbyname): Return value returned by addservbyX:
37118         (readdservbyport): Likewise.
37119         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37120         (addhstbyX): Return value returned by cache_addhst.
37121         (readdhstbyname): Return value returned by addhstbyX.
37122         (readdhstbyaddr): Likewise.
37123         (readdhstbynamev6): Likewise.
37124         (readdhstbyaddrv6): Likewise.
37125         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37126         (readdinitgroups): Return value returned by addinitgroupsX.
37127         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37128         (prune_cache): Keep track of timeout value of re-added entries.
37129         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37130         * nscd/nscd.h: Adjust prototypes of readd* functions.
37132 2011-02-04  Roland McGrath  <roland@redhat.com>
37134         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37135         (nis_stats): Likewise.
37136         * nis/nis_modify.c (nis_modify): Likewise.
37137         * nis/nis_remove.c (nis_remove): Likewise.
37138         * nis/nis_add.c (nis_add): Likewise.
37140         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37142         * posix/fnmatch_loop.c: Add some consts.
37144         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37146 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37148         [BZ #12460]
37149         * config.make.in (config-cflags-novzeroupper): Define.
37150         * configure.in: Substitute libc_cv_cc_novzeroupper.
37151         * elf/Makefile (AVX-CFLAGS): Define.
37152         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37153         (CFLAGS-tst-auditmod4a.c): Likewise.
37154         (CFLAGS-tst-auditmod4b.c): Likewise.
37155         (CFLAGS-tst-auditmod6b.c): Likewise.
37156         (CFLAGS-tst-auditmod6c.c): Likewise.
37157         (CFLAGS-tst-auditmod7b.c): Likewise.
37158         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37160 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37162         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37163         function to the callback.
37164         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37166 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37168         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37169         of errno.
37171 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37173         [BZ #11724]
37174         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37175         of constructors.
37176         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37177         of destructors.
37178         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37180         [BZ #11724]
37181         * elf/Makefile: Add rules to build and run new test.
37182         * elf/tst-initorder.c: New file.
37183         * elf/tst-initorder.exp: New file.
37184         * elf/tst-initordera1.c: New file.
37185         * elf/tst-initordera2.c: New file.
37186         * elf/tst-initordera3.c: New file.
37187         * elf/tst-initordera4.c: New file.
37188         * elf/tst-initorderb1.c: New file.
37189         * elf/tst-initorderb2.c: New file.
37190         * elf/tst-order-a1.c: New file.
37191         * elf/tst-order-a2.c: New file.
37192         * elf/tst-order-a3.c: New file.
37193         * elf/tst-order-a4.c: New file.
37194         * elf/tst-order-b1.c: New file.
37195         * elf/tst-order-b2.c: New file.
37196         * elf/tst-order-main.c: New file.
37197         New test case by George Gensure <werkt0@gmail.com>.
37199 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37202         decoding ACE if AI_CANONIDN.
37204 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37206         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37208 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37210         * version.h (RELEASE): Bump for 2.13 release.
37211         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37213         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37215         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37216         MADV_NOHUGEPAGE.
37217         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37218         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37219         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37220         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37221         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37222         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37224         * posix/getconf.c: Update copyright year.
37225         * catgets/gencat.c: Likewise.
37226         * csu/version.c: Likewise.
37227         * debug/catchsegv.sh: Likewise.
37228         * debug/xtrace.sh: Likewise.
37229         * elf/ldconfig.c: Likewise.
37230         * elf/ldd.bash.in: Likewise.
37231         * elf/sprof.c (print_version): Likewise.
37232         * iconv/iconv_prog.c: Likewise.
37233         * iconv/iconvconfig.c: Likewise.
37234         * locale/programs/locale.c: Likewise.
37235         * locale/programs/localedef.c: Likewise.
37236         * malloc/memusage.sh: Likewise.
37237         * malloc/mtrace.pl: Likewise.
37238         * nscd/nscd.c (print_version): Likewise.
37239         * nss/getent.c: Likewise.
37241         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37242         PF_CAIF, and PF_ALG.
37243         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37245 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37247         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37248         (modules-names): Use them.
37249         (ifunc-test-modules, ifunc-pie-tests): Define.
37250         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37251         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37252         (test-extras): Likewise.
37253         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37254         $(compile-command.c).
37255         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37256         (all-built-dso): Define.
37257         (check-textrel.out, check-execstack.out): Depend on it.
37259         * configure.in: Don't override --enable-multi-arch.
37261 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37263         [BZ #6812]
37264         * nscd/hstcache.c (tryagain): Define.
37265         (cache_addhst): Return tryagain not notfound for temporary errors.
37266         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37267         failed.
37269 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37271         [BZ #10563]
37272         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37273         to make the syscall.
37274         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37276         [BZ #12378]
37277         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37278         and fall back to matching as normal character if the string ends before
37279         the matching ']' is found.  This is what POSIX requires.
37280         * posix/testfnm.c: Adjust test result.
37281         * posix/globtest.sh: Adjust test result.  Add new test.
37282         * posix/tst-fnmatch.input: Likewise.
37283         * posix/tst-fnmatch2.c: Add new test.
37285 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37287         * elf/Makefile (check-execstack): Revert last change.  Depend on
37288         check-execstack.h.
37289         (check-execstack.h): New target.
37290         (generated): Add check-execstack.h.
37291         * elf/check-execstack.c: Include "check-execstack.h".
37292         (main): Revert last change.
37293         (handle_file): Return zero if GNU_STACK is absent and
37294         DEFAULT_STACK_PERMS doesn't include PF_X.
37296 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37298         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37299         in child fails because the descriptor is already closed.
37300         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37301         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37302         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37304         [BZ #12397]
37305         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37306         syscall.
37308         [BZ #10484]
37309         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37310         temporary buffer used to handle multi lookups locally.
37311         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37313 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37315         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37316         loader is ld.so.
37318 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37320         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37321         alignment for SSE2.
37323 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37325         [BZ #12394]
37326         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37327         characters.  When rounding increased number of integer digits recompute
37328         number of groups.
37329         * stdio-common/tst-grouping.c: New file.
37330         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37332 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37334         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37335         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37337         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37338         void.
37339         * bits/select.h: Likewise.
37341 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37343         * po/ja.po: Update from translation team.
37345 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37347         [BZ #11155]
37348         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37349         implementation just like for lxstat, fxstatat, et al.
37351 2010-12-27  Jim Meyering  <meyering@redhat.com>
37353         [BZ #12348]
37354         * posix/regexec.c (build_trtable): Return failure indication upon
37355         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37357 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37359         [BZ #12201]
37360         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37361         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37362         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37363         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37365         [BZ #12207]
37366         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37368         [BZ #12204]
37369         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37370         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37372 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37374         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37375         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37376         script has SORT_BY_INIT_PRIORITY.
37377         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37378         NO_CTORS_DTORS_SECTIONS is defined.
37379         * elf/soinit.c: Likewise.
37380         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37381         NO_CTORS_DTORS_SECTIONS is defined.
37382         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37383         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37384         * sysdeps/sh/init-first.c: Likewise.
37385         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37387 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37389         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37390         always use the slow path.
37392 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37394         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37395         similar rule which adds the sysdep directories to the header search in
37396         order to pick up the correct platform stackinfo.h.
37397         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37398         perform test if it is, otherwise return successfully without testing.
37399         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37400         DEFAULT_STACK_PERMS define in stackinfo.h.
37401         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37402         defined in stackinfo.h.
37403         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37404         DEFAULT_STACK_PERMS defined in stackinfo.h.
37405         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37406         * sysdeps/ia64/stackinfo.h: Likewise.
37407         * sysdeps/s390/stackinfo.h: Likewise.
37408         * sysdeps/sh/stackinfo.h: Likewise.
37409         * sysdeps/sparc/stackinfo.h: Likewise.
37410         * sysdeps/x86_64/stackinfo.h: Likewise.
37411         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37412         PF_X for powerpc64.  Retain PF_X for powerpc32.
37414 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37416         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37417         accurately.
37418         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37419         GETDENTS_64BIT_ALIGNED.
37421 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37423         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37425 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37427         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37428         _GNU_SOURCE.
37430         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37431         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37432         Remove __restrict.
37433         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37434         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37436 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37438         [BZ #11655]
37439         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37440         are initialized.
37442 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37444         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37446 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37448         * po/it.po: Update from translation team.
37450 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37452         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37453         unused codes.
37455 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37457         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37459 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37461         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37462         specially.
37463         (gaih_getanswer_slice): Likewise.
37465 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37467         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37469 2010-05-31  Petr Baudis  <pasky@suse.cz>
37471         [BZ #11149]
37472         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37473         silently even in the chroot mode.
37475 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37477         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37478         last patch a bit.  Pretty printing
37480 2010-05-31  Petr Baudis <pasky@suse.cz>
37482         [BZ #10085]
37483         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37484         initialization of skip_initgroups_dyn.
37486 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37488         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37489         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37491 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37493         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37495 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37497         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37498         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37499         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37500         ($(objpfx)tst-fnmatch-mem): New rule.
37501         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37502         * posix/tst-fnmatch.c (main): Call mtrace.
37504 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37507         Support Intel processor model 6 and model 0x2c.
37509 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37511         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37512           signed comparison.
37514 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37516         [BZ #12205]
37517         * string/test-strncasecmp.c (check_result): New function.
37518         (do_one_test): Use it.
37519         (check1): New function.
37520         (test_main): Use it.
37521         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37522         Support strcasecmp and strncasecmp.
37524 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37526         [BZ #12194]
37527         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37528         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37530 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37532         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37533         IFUNC support.
37534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37535         memset-x86-64.
37536         * sysdeps/x86_64/multiarch/bzero.S: New file.
37537         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37538         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37539         * sysdeps/x86_64/multiarch/memset.S: New file.
37540         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37542         Set bit_Prefer_SSE_for_memop for Intel processors.
37543         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37544         Define.
37545         (index_Prefer_SSE_for_memop): Define.
37546         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37548 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37550         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37551         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37553 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37555         [BZ #12191]
37556         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37557         (__x86_64_raw_data_cache_size_half): Likewise.
37558         (__x86_64_raw_shared_cache_size): Likewise.
37559         (__x86_64_raw_shared_cache_size_half): Likewise.
37561         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37562         (__x86_64_raw_data_cache_size_half): Likewise.
37563         (__x86_64_raw_shared_cache_size): Likewise.
37564         (__x86_64_raw_shared_cache_size_half): Likewise.
37565         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37566         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37567         and __x86_64_raw_shared_cache_size_half.  Round
37568         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37569         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37570         to multiple of 256 bytes.
37572 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37574         [BZ #12167]
37575         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37576         of inacessible symlinks.  Verify result of symlink before returning it.
37577         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37578         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37580 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37582         * math/math.h (isinf): Fix typo in comment.
37584 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37586         * po/da.po: Update from translation team.
37588 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37590         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37591         is added to the list.
37593 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37594             Ulrich Drepper  <drepper@gmail.com>
37596         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37597         the global list here.  Move code to...
37598         (_dl_add_to_namespace_list): ...here.  New function.
37599         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37600         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37601         * elf/dl-load.c (lose): Don't remove the element from the list.
37602         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37603         (_dl_map_object): Likewise.
37605 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37607         [BZ #12159]
37608         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37609         into all bytes of SSE register.
37610         Patch by Richard Li <richardpku@gmail.com>.
37612 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37614         [BZ #12140]
37615         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37616         perturbing.
37618 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37620         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37621         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37622         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37623         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37625         submachine.
37626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37628 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37630         * include/dlfcn.h (__RTLD_SECURE): Define.
37631         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37632         mode & __RTLD_SECURE instead.
37633         (open_path): Rename preloaded parameter to secure.
37634         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37635         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37636         * elf/dl-deps.c (openaux): Likewise.
37637         * elf/rtld.c (struct map_args): Remove is_preloaded.
37638         (map_doit): Don't use it.
37639         (dl_main): Likewise.
37640         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37641         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37643 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37645         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37646         (sysd-rules-targets): Remove duplicates.
37647         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37648         rtld-%.$o dependency.
37650 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37652         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37653         _dl_map_object do it.
37655 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37657         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37658         fast fma builtins, define the macros in the C99 standard.
37659         (FP_FAST_FMAF): Likewise.
37660         (FP_FAST_FMAL): Likewise.
37661         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37663         * bits/mathdef.h: Update copyright year.
37664         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37666 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37668         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37669         builtins, define the macros in the C99 standard.
37670         (FP_FAST_FMAF): Likewise.
37671         (FP_FAST_FMAL): Likewise.
37672         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37673         multiply/add.
37674         (FP_FAST_FMAF): Likewise.
37676 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37678         [BZ #3268]
37679         * math/libm-test.inc (fma_test): Some new testcases.
37680         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37681         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37682         y and infinite z.  Do multiplication by C already in long double.
37683         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37684         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37685         y and infinite z.  Do bitwise or of inexact bit into u.d.
37686         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37687         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37688         * sysdeps/i386/fpu/s_fma.S: Removed.
37689         * sysdeps/i386/fpu/s_fmal.S: Removed.
37691 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37693         [BZ #3268]
37694         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37695         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37696         computation is not scheduled after fetestexcept.  Fix value
37697         of minimum denormal long double.
37699 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37701         [BZ #3268]
37702         * math/libm-test.inc (fma_test): Add some more tests.
37703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37704         correctly.
37706 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37708         * scripts/data/localplt-s390-linux-gnu.data: New file.
37709         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37711 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37713         [BZ #3268]
37714         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37715         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37716         instead of dbl-64.
37717         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37718         inlines.
37719         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37720         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37721         if one of x and y is very large and the other is subnormal.
37722         * sysdeps/s390/fpu/s_fmaf.c: New file.
37723         * sysdeps/s390/fpu/s_fma.c: New file.
37724         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37725         * sysdeps/powerpc/fpu/s_fma.S: New file.
37726         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37727         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37728         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37730 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37732         [BZ #3268]
37733         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37734         fma tests.
37735         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37736         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37737         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37738         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37739         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37740         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37741         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37743 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37745         [BZ #12078]
37746         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37747         * posix/bug-regex31.input: Add test case.
37749 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37751         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37752         * posix/bug-regex31.input: New file.
37754         [BZ #12078]
37755         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37756         (parse_sub_exp): Fix last change, use postorder.
37758         * posix/bug-regex31.c: New file.
37759         * posix/Makefile: Add rules to build and run bug-regex31.
37761         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37763         [BZ #12078]
37764         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37766         [BZ #12108]
37767         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37768         to have entries in sys_siglist.
37770         [BZ #12093]
37771         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37772         be NULL.
37774 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37776         [BZ #3268]
37777         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37778         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37779         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37780         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37781         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37782         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37783         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37784         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37785         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37786         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37787         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37788         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37789         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37790         * math/ftestexcept.c (fetestexcept): Likewise.
37791         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37792         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37793         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37794         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37795         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37796         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37797         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37799 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37801         [BZ #12107]
37802         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37803         newline.
37805 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37807         * string/bug-strstr1.c: New file.
37808         * string/Makefile: Add rules to build and run bug-strstr1.
37810 2010-10-05  Eric Blake  <eblake@redhat.com>
37812         [BZ #12092]
37813         * string/str-two-way.h (two_way_long_needle): Always clear memory
37814         when skipping input due to the shift table.
37816 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37818         [BZ #12005]
37819         * malloc/mcheck.c: Handle large requests.
37821         [BZ #12077]
37822         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37823         for strncmp and strncasecmp.
37824         * string/stratcliff.c: Add tests for strcmp and strncmp.
37825         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37827 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37829         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37830         __set_fpscr.
37832 2010-09-30  Andreas Jaeger  <aj@suse.de>
37834         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37835         (CGROUP_SUPER_MAGIC): Define.
37836         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37837         Handle btrfs and cgroup file systems.
37838         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37839         Likewise.
37841 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37843         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37844         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37846 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37848         [BZ #12067]
37849         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37850         trying to locate the ELF header.
37852 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37854         [BZ #11611]
37855         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37856         Mask out sign-bit copies when constructing f_fsid.
37858 2010-09-24  Petr Baudis <pasky@suse.cz>
37860         * debug/stack_chk_fail_local.c: Add missing licence exception.
37861         * debug/warning-nop.c: Likewise.
37863 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37865         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37866         implementing getdents64 using getdents syscall, set d_type if
37867         __ASSUME_GETDENTS32_D_TYPE.
37869 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37871         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37872         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37874 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37876         [BZ #12037]
37877         * posix/unistd.h: Undo change of feature selection for ftruncate from
37878         2010-01-11.
37880 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37882         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37883         detection.
37885 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37887         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37888         fanotify_mark.
37889         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37891 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37893         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37894         variables after CHECK_SP call.
37895         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37897 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37898             Ulrich Drepper  <drepper@redhat.com>
37900         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37901         re-relocationg ld.so.
37902         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37903         _dl_init_paths call.
37904         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37905         here anymore.
37907 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37909         * resolv/res_init.c (__res_vinit): Count the default server we added.
37911 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37912             Ulrich Drepper  <drepper@redhat.com>
37914         [BZ #11968]
37915         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37916         (____longjmp_chk): Use %ebx for saving value across system call.
37917         Add unwind info.
37919 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37921         * manual/Makefile: Don't mix pattern rules with normal rules.
37923 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37925         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37926         operation.
37927         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37928         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37929         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37930         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37931         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37932         Likewise.
37934 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37936         [BZ #11979]
37937         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37938         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37940 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37942         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37943         * sysdeps/x86_64/addmul_1.S: Likewise.
37944         * sysdeps/x86_64/lshift.S: Likewise.
37945         * sysdeps/x86_64/mul_1.S: Likewise.
37946         * sysdeps/x86_64/rshift.S: Likewise.
37947         * sysdeps/x86_64/sub_n.S: Likewise.
37948         * sysdeps/x86_64/submul_1.S: Likewise.
37950 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37952         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37953         Define __sched_param instead of SCHED_* and sched_param when
37954         <bits/sched.h> is included with __need_schedparam defined.
37955         * bits/sched.h [__need_schedparam]
37956         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37957         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37958         (__defined_schedparam): Define to 1.
37959         (__sched_param): New structure, identical to sched_param.
37960         (__need_schedparam): Undefine.
37962 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37964         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37965         (epoll_create1): Declare.
37967         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37969 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37971         [BZ #7066]
37972         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37973         shifting retval into place.
37975 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37977         * nis/rpcsvc/nis.h: Update copyright notice.
37978         * nis/rpcsvc/nis.x: Likewise.
37979         * nis/rpcsvc/nis_callback.h: Likewise.
37980         * nis/rpcsvc/nis_callback.x: Likewise.
37981         * nis/rpcsvc/nis_object.x: Likewise.
37982         * nis/rpcsvc/nis_tags.h: Likewise.
37983         * nis/rpcsvc/yp.h: Likewise.
37984         * nis/rpcsvc/yp.x: Likewise.
37985         * nis/rpcsvc/ypupd.h: Likewise.
37986         * nis/yp_xdr.c: Likewise.
37987         * nis/ypupdate_xdr.c: Likewise.
37989         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37990         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37991         (pmap_getport): Use __libc_rpc_getport.
37992         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37993         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37994         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37996 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37999         fanotify_mark.
38001 2010-08-27  Roland McGrath  <roland@redhat.com>
38003         * sysdeps/i386/i686/multiarch/Makefile
38004         (CFLAGS-varshift.c): New variable.
38006 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38008         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38009         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38011         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38013         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38015 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38017         * sysdeps/x86_64/strlen.S: Unroll the loop.
38018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38019         strlen-sse2 strlen-sse2-bsf.
38020         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38021         __strlen_no_bsf if bit_Slow_BSF is set.
38022         (__strlen_sse42): Removed.
38023         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38024         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38026 2010-08-25  Roland McGrath  <roland@redhat.com>
38028         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38029         * sysdeps/x86_64/multiarch/varshift.c: New file.
38030         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38031         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38032         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38033         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38035 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38037         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38038         strlen-sse2 strlen-sse2-bsf.
38039         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38040         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38041         (__strlen_sse2): Removed.
38042         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38043         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38044         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38045         bit_Slow_BSF for Atom.
38046         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38047         (index_Slow_BSF): Define.
38048         (HAS_SLOW_BSF): Define.
38050 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38052         [BZ #10851]
38053         * resolv/res_init.c (__res_vinit): When no server address at all
38054         is given default to loopback.
38056 2010-08-24  Roland McGrath  <roland@redhat.com>
38058         * configure.in: Remove config-name.h generation.
38059         * configure: Regenerated.
38060         * config-name.in: File removed.
38061         * scripts/config-uname.sh: New file.
38062         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38063         ($(objdir)config-name.h): New target.
38065         * sunrpc/rpc_parse.h: Avoid nested comment.
38067 2010-08-24  Richard Henderson  <rth@redhat.com>
38068             Ulrich Drepper  <drepper@redhat.com>
38069             H.J. Lu  <hongjiu.lu@intel.com>
38071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38073         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38074         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38075         _mm_alignr_epi8 with _mm_loadu_si128.
38076         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38077         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38078         (__m128i_shift_right): Removed.
38079         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38080         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38081         * sysdeps/x86_64/multiarch/varshift.h: New file.
38082         * sysdeps/x86_64/multiarch/varshift.S: New file.
38084 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38086         * configure.in: Move assembler checks to before sysdep dir checking.
38088 2010-08-20  Petr Baudis  <pasky@suse.cz>
38090         * LICENSES: Sync the sunrpc license.
38092 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38094         * sunrpc/auth_des.c: Update copyright notice once again.
38095         * sunrpc/auth_none.c: Likewise.
38096         * sunrpc/auth_unix.c: Likewise.
38097         * sunrpc/authdes_prot.c: Likewise.
38098         * sunrpc/authuxprot.c: Likewise.
38099         * sunrpc/bindrsvprt.c: Likewise.
38100         * sunrpc/clnt_gen.c: Likewise.
38101         * sunrpc/clnt_perr.c: Likewise.
38102         * sunrpc/clnt_raw.c: Likewise.
38103         * sunrpc/clnt_simp.c: Likewise.
38104         * sunrpc/clnt_tcp.c: Likewise.
38105         * sunrpc/clnt_udp.c: Likewise.
38106         * sunrpc/clnt_unix.c: Likewise.
38107         * sunrpc/des_crypt.c: Likewise.
38108         * sunrpc/des_soft.c: Likewise.
38109         * sunrpc/get_myaddr.c: Likewise.
38110         * sunrpc/getrpcport.c: Likewise.
38111         * sunrpc/key_call.c: Likewise.
38112         * sunrpc/key_prot.c: Likewise.
38113         * sunrpc/openchild.c: Likewise.
38114         * sunrpc/pm_getmaps.c: Likewise.
38115         * sunrpc/pm_getport.c: Likewise.
38116         * sunrpc/pmap_clnt.c: Likewise.
38117         * sunrpc/pmap_prot.c: Likewise.
38118         * sunrpc/pmap_prot2.c: Likewise.
38119         * sunrpc/pmap_rmt.c: Likewise.
38120         * sunrpc/rpc/auth.h: Likewise.
38121         * sunrpc/rpc/auth_unix.h: Likewise.
38122         * sunrpc/rpc/clnt.h: Likewise.
38123         * sunrpc/rpc/des_crypt.h: Likewise.
38124         * sunrpc/rpc/key_prot.h: Likewise.
38125         * sunrpc/rpc/netdb.h: Likewise.
38126         * sunrpc/rpc/pmap_clnt.h: Likewise.
38127         * sunrpc/rpc/pmap_prot.h: Likewise.
38128         * sunrpc/rpc/pmap_rmt.h: Likewise.
38129         * sunrpc/rpc/rpc.h: Likewise.
38130         * sunrpc/rpc/rpc_des.h: Likewise.
38131         * sunrpc/rpc/rpc_msg.h: Likewise.
38132         * sunrpc/rpc/svc.h: Likewise.
38133         * sunrpc/rpc/svc_auth.h: Likewise.
38134         * sunrpc/rpc/types.h: Likewise.
38135         * sunrpc/rpc/xdr.h: Likewise.
38136         * sunrpc/rpc_clntout.c: Likewise.
38137         * sunrpc/rpc_cmsg.c: Likewise.
38138         * sunrpc/rpc_common.c: Likewise.
38139         * sunrpc/rpc_cout.c: Likewise.
38140         * sunrpc/rpc_dtable.c: Likewise.
38141         * sunrpc/rpc_hout.c: Likewise.
38142         * sunrpc/rpc_main.c: Likewise.
38143         * sunrpc/rpc_parse.c: Likewise.
38144         * sunrpc/rpc_parse.h: Likewise.
38145         * sunrpc/rpc_prot.c: Likewise.
38146         * sunrpc/rpc_sample.c: Likewise.
38147         * sunrpc/rpc_scan.c: Likewise.
38148         * sunrpc/rpc_scan.h: Likewise.
38149         * sunrpc/rpc_svcout.c: Likewise.
38150         * sunrpc/rpc_tblout.c: Likewise.
38151         * sunrpc/rpc_util.c: Likewise.
38152         * sunrpc/rpc_util.h: Likewise.
38153         * sunrpc/rpcinfo.c: Likewise.
38154         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38155         * sunrpc/rpcsvc/key_prot.x: Likewise.
38156         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38157         * sunrpc/rpcsvc/mount.x: Likewise.
38158         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38159         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38160         * sunrpc/rpcsvc/rex.x: Likewise.
38161         * sunrpc/rpcsvc/rstat.x: Likewise.
38162         * sunrpc/rpcsvc/rusers.x: Likewise.
38163         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38164         * sunrpc/rpcsvc/spray.x: Likewise.
38165         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38166         * sunrpc/rtime.c: Likewise.
38167         * sunrpc/svc.c: Likewise.
38168         * sunrpc/svc_auth.c: Likewise.
38169         * sunrpc/svc_authux.c: Likewise.
38170         * sunrpc/svc_raw.c: Likewise.
38171         * sunrpc/svc_run.c: Likewise.
38172         * sunrpc/svc_simple.c: Likewise.
38173         * sunrpc/svc_tcp.c: Likewise.
38174         * sunrpc/svc_udp.c: Likewise.
38175         * sunrpc/svc_unix.c: Likewise.
38176         * sunrpc/svcauth_des.c: Likewise.
38177         * sunrpc/xcrypt.c: Likewise.
38178         * sunrpc/xdr.c: Likewise.
38179         * sunrpc/xdr_array.c: Likewise.
38180         * sunrpc/xdr_float.c: Likewise.
38181         * sunrpc/xdr_mem.c: Likewise.
38182         * sunrpc/xdr_rec.c: Likewise.
38183         * sunrpc/xdr_ref.c: Likewise.
38184         * sunrpc/xdr_sizeof.c: Likewise.
38185         * sunrpc/xdr_stdio.c: Likewise.
38187         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38188         handling.
38190 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38192         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38194 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38196         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38197         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38198         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38199         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38200         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38201         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38202         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38203         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38204         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38205         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38206         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38207         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38208         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38209         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38211 2010-07-26  Anton Blanchard  <anton@samba.org>
38213         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38214         * malloc/arena.c (heap_trim): Likewise.
38216 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38218         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38219         here.  Not...
38220         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38221         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38223 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38225         * sysdeps/i386/elf/Makefile: New file.
38227 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38229         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38230         from fanotify_init.
38231         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38232         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38234 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38236         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38237         of strncasecmp_l.
38238         * sysdeps/multiarch/strcmp.S: Likewise.
38240 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38242         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38243         strncase_l-nonascii.
38244         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38245         Add strncase_l-ssse3.
38246         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38247         * sysdeps/x86_64/strcmp.S: Likewise.
38248         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38249         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38250         * sysdeps/x86_64/strncase.S: New file.
38251         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38252         * sysdeps/x86_64/strncase_l.S: New file.
38253         * string/Makefile (strop-tests): Add strncasecmp.
38254         * string/test-strncasecmp.c: New file.
38256         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38257         warning.
38259         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38260         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38262 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38264         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38266 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38268         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38269         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38270         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38272 2010-05-01  Alan Modra  <amodra@gmail.com>
38274         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38275         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38276         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38277         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38278         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38279         tidying.  Don't tail-call __sigjmp_save for static lib.
38280         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38281         save location.
38282         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38283         (CALL_MCOUNT): Add eh info, and nop after bl.
38284         (TAIL_CALL_SYSCALL_ERROR): New macro.
38285         (PSEUDO_RET): Use it.
38286         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38287         Correct save location of integer regs and cr.
38288         (_dl_profile_resolve): Correct cr save location.  Delete nops
38289         after bl when SHARED.  Reduce cfi size a little by better
38290         placement of cfi directives.
38291         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38292         make a stack frame.  Instead use parm save area as a temp.
38293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38294         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38296         Don't make a stack frame for parent, use parm save area.
38297         Increase child stack frame to 112 bytes.  Don't save unused reg,
38298         and adjust reg usage.  Set up cfi on error recovery and
38299         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38301         (__makecontext): Add dummy nop after jump to exit.
38302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38303         Use correct parm save area and cr save, reduce stack frame.
38304         Correct cfi for possible PSEUDO_RET frame setup.
38305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38306         Branch to local label emitted by PSEUDO_RET rather than
38307         __syscall_error.
38309 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38311         [BZ #11904]
38312         * locale/programs/locale.c (print_assignment): New function.
38313         (show_locale_vars): Use it.
38315 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38317         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38318         field.
38319         (struct statfs64): Likewise.
38320         (_STATFS_F_FLAGS): Define.
38321         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38322         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38323         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38324         (ST_VALID): Define locally.
38325         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38326         __statvfs_getflags, use the provided value.
38327         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38328         __ASSUME_STATFS_F_FLAGS.
38330         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38332         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38333         Add sys/fanotify.h.
38334         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38335         fanotify_mask for GLIBC_2.13.
38336         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38337         fanotify_init and fanotify_mark.
38338         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38339         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38341         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38342         Add prlimit.
38343         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38344         prlimit64 for GLIBC_2.13.
38345         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38346         prlimit64.
38347         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38348         syscall.
38349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38350         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38351         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38352         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38353         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38354         add prlimit alias.
38355         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38357         [BZ #11903]
38358         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38359         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38361         * nss/Makefile: Add rules to build and run tst-nss-test1.
38362         * shlib-versions: Add entry for libnss_test1.
38363         * nss/nss_test1.c: New file.
38364         * nss/tst-nss-test1.c: New file.
38366         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38367         (__nss_configure_lookup): Set appropriate entry in
38368         __nss_configure_lookup to true.
38369         * nss/nsswitch.h: Define enum with indeces of databases in
38370         databases and __nss_database_custom arrays.  Declare
38371         __nss_database_custom.
38372         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38373         to avoid using nscd when custom rules are installed.
38374         * nss/getXXbyYY_r.c: Likewise.
38375         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38377         * nss/nss_files/files-parse.c: Whitespace fixes.
38379 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38381         [BZ #11883]
38382         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38383         * posix/fnmatch_loop.c: Likewise.
38385 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38387         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38388         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38389         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38390         * Versions.def [GLIBC_2.13]: Add.
38392 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38394         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38395         Also fail if tpwd after pwuid call is NULL.
38397 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38399         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38400         when converting to ms.
38402 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38404         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38405         EOPNOTSUPP errors with ENOTTY.
38406         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38407         EOPNOTSUPP errors with ENOTTY.
38409 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38411         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38412         Add strcasecmp_l-ssse3.
38413         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38414         strcasecmp.
38415         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38416         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38417         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38419 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38421         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38423         * string/Makefile (strop-tests): Add strcasecmp.
38424         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38425         strcasecmp_l-nonascii.
38426         (gen-as-const-headers): Add locale-defines.sym.
38427         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38428         * sysdeps/x86_64/strcasecmp.S: New file.
38429         * sysdeps/x86_64/strcasecmp_l.S: New file.
38430         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38431         * sysdeps/x86_64/locale-defines.sym: New file.
38432         * string/test-strcasecmp.c: New file.
38434         * string/test-strcasestr.c: Test both ends of the range of characters.
38435         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38437 2010-07-29  Roland McGrath  <roland@redhat.com>
38439         [BZ #11856]
38440         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38442 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38444         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38445         for ld.so.
38447 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38449         * manual/memory.texi (Malloc Tunable Parameters): Document
38450         M_PERTURB.
38452 2010-07-26  Roland McGrath  <roland@redhat.com>
38454         [BZ #11840]
38455         * configure.in (-fgnu89-inline check): Set and substitute
38456         gnu89_inline, not libc_cv_gnu89_inline.
38457         * configure: Regenerated.
38458         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38460 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38462         * string/test-strnlen.c: New file.
38463         * string/Makefile (strop-tests): Add strnlen.
38464         * string/tester.c (test_strnlen): Add a few more test cases.
38465         * string/tst-strlen.c: Better error reporting.
38467         * sysdeps/x86_64/strnlen.S: New file.
38469 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38471         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38472         lower-latency instructions.
38474 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38476         * string/test-strcasestr.c: New file.
38477         * string/test-strstr.c: New file.
38478         * string/Makefile (strop-tests): Add strstr and strcasestr.
38479         * string/str-two-way.h: Don't undefine MAX.
38480         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38482 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38484         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38485         strcasestr-nonascii.
38486         (CFLAGS-strcasestr-nonascii.c): Define.
38487         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38488         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38489         Remove unused attribute.
38491 2010-07-20  Roland McGrath  <roland@redhat.com>
38493         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38494         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38495         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38496         like LD_HWCAP_MASK can disable hwcaps.
38498 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38500         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38502 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38504         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38505         call in strcasestr.
38506         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38507         __strcasestr_sse42_nonascii.
38508         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38509         strcasestr-nonascii.c.
38510         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38512 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38514         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38515         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38516         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38517         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38519 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38521         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38522         fcntl.
38524 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38526         [BZ #11577]
38527         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38528         dl_signal_cerror.
38530 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38532         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38533         _PC_PIPE_BUF using F_GETPIPE_SZ.
38535 2010-07-05  Roland McGrath  <roland@redhat.com>
38537         * manual/arith.texi (Rounding Functions): Fix rint description
38538         implicit in round description.
38540 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38542         * elf/Makefile: Fix linking for a few tests to make recent linker
38543         happy.
38545 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38547         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38548         $(common-objpfx)libc_nonshared.a.
38550 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38552         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38553         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38554         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38555         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38556         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38557         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38558         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38559         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38574         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38575         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38576         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38577         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38578         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38579         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38580         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38581         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38582         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38583         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38584         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38585         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38601 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38603         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38604         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38605         * string/memmove.c (memmove): Renamed to ...
38606         (MEMMOVE): ...this.  Default to memmove.
38607         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38608         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38609         (END_CHK): Define.
38610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38611         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38612         mempcpy-ssse3-back memmove-ssse3-back.
38613         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38614         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38615         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38616         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38617         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38618         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38619         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38620         * sysdeps/x86_64/multiarch/memmove.c: New file.
38621         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38622         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38623         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38624         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38625         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38626         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38627         Define.
38628         (index_Fast_Copy_Backward): Define.
38629         (HAS_ARCH_FEATURE): Define.
38630         (HAS_FAST_REP_STRING): Define.
38631         (HAS_FAST_COPY_BACKWARD): Define.
38633 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38635         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38636         Restore proper fallback handling.
38638 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38640         [BZ #11701]
38641         * posix/group_member.c (__group_member): Correct checking loop.
38643         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38644         OOM in getpwuid_r correctly.  Return error number when the caller
38645         should return, otherwise -1.
38646         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38647         call returning > 0 value.
38648         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38650 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38652         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38653         libc_nonshared.a from targets in modules-names.
38655 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38657         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38658         requires it.
38660 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38662         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38663         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38664         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38665         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38667 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38669         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38671 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38673         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38674         and F_GETPIPE_SZ.
38675         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38676         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38678         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38679         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38680         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38682 2010-06-14  Roland McGrath  <roland@redhat.com>
38684         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38686 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38688         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38689         __REDIRECT followed by __THROW.
38690         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38691         * posix/getopt.h (getopt): Likewise.
38693 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38695         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38696         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38697         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38698         in AT_FLAGS.
38699         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38700         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38702 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38704         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38706 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38708         [BZ #11640]
38709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38710         Properly check family and model.
38712 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38714         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38716 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38718         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38720 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38722         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38723         symbol reference.
38725 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38727         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38728         symbol reference.
38730 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38732         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38733         and internal_recvmmsg.
38734         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38735         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38736         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38737         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38739         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38740         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38741         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38743 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38745         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38747 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38749         POWER7 optimizations.
38750         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38751         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38753 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38755         * version.h: Update for 2.13 development version.
38757 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38759         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38760         exceptions.  Return 0.
38762 2010-05-07  Roland McGrath  <roland@redhat.com>
38764         * elf/ldconfig.c (main): Add a const.
38766 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38768         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38769         (args_options): Add no-idn option.
38770         (ahosts_keys_int): Add idn_flags to ai_flags.
38771         (parse_option): Handle 'i' option to clear idn_flags.
38773         * malloc/malloc.c (_int_free): Possible race in the most recently
38774         added check.  Only act on the data if no current modification
38775         happened.
38777 See ChangeLog.17 for earlier changes.